summaryrefslogtreecommitdiff
path: root/libudev/libudev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-10-06 01:10:59 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-10-06 01:10:59 +0200
commit0bbe8838e75bf97792d61b33f8592a32f1fc8bd4 (patch)
treeed9c94996deef6d333599c022298828427b3d1cd /libudev/libudev.h
parent289a1821a4a7636ce42a6c7adc3a9bb49421a5ea (diff)
libudev: export udev_util_encode_string()
Diffstat (limited to 'libudev/libudev.h')
-rw-r--r--libudev/libudev.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libudev/libudev.h b/libudev/libudev.h
index 47b56bb17a..497f752fca 100644
--- a/libudev/libudev.h
+++ b/libudev/libudev.h
@@ -1,7 +1,7 @@
/*
* libudev - interface to udev device information
*
- * Copyright (C) 2008-2010 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2008-2011 Kay Sievers <kay.sievers@vrfy.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -174,6 +174,14 @@ int udev_queue_get_seqnum_sequence_is_finished(struct udev_queue *udev_queue,
unsigned long long int start, unsigned long long int end);
struct udev_list_entry *udev_queue_get_queued_list_entry(struct udev_queue *udev_queue);
+/*
+ * udev_util
+ *
+ * udev specific utilities
+ */
+int udev_util_encode_string(const char *str, char *str_enc, size_t len);
+
+
#ifdef __cplusplus
} /* extern "C" */
#endif