X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Futil.h;h=4063ee7ff276b82b8b1f28d78f4decd4cccbef02;hp=7490236fa0915e4abaf678c818dadd1864278c9f;hb=5845b46ba3883fe0b21217c65f41383eb52cddb6;hpb=c4e2ceae941d02de5574becbfd3b4db15de2eda3 diff --git a/src/util.h b/src/util.h index 7490236fa..4063ee7ff 100644 --- 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); +char *unquote(const char *s, const char quote); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)