chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
device: handle properly if two devices want to have the same name
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 7490236fa0915e4abaf678c818dadd1864278c9f..4063ee7ff276b82b8b1f28d78f4decd4cccbef02 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-339,6
+339,8
@@
char *ellipsize(const char *s, unsigned length, unsigned percent);
int touch(const char *path);
int touch(const char *path);
+char *unquote(const char *s, const char quote);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)