summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-03-14 21:41:33 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-03-14 21:41:33 +0100
commit9c6ad9fbbac82e517f5e748ddbe166f96f120afe (patch)
tree2021ceed05626469a75280a6c1b5cc897e157a75 /udev.h
parent5edec024b1ed7bbdf73095791c13df324038c31d (diff)
encode db-file names, instead of just replacing '/'
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev.h b/udev.h
index 849de96459..200d7e8369 100644
--- a/udev.h
+++ b/udev.h
@@ -29,7 +29,6 @@
#include "udev_version.h"
#define COMMENT_CHARACTER '#'
-#define PATH_TO_NAME_CHAR '@'
#define LINE_SIZE 512
#define PATH_SIZE 512
#define NAME_SIZE 128
@@ -144,6 +143,8 @@ extern gid_t lookup_group(const char *group);
/* udev_utils_string.c */
extern int string_is_true(const char *str);
extern void remove_trailing_chars(char *path, char c);
+extern size_t path_encode(char *s, size_t len);
+extern size_t path_decode(char *s);
extern int utf8_encoded_valid_unichar(const char *str);
extern int replace_untrusted_chars(char *str);