]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/util.h
dbus: follow standardized fdo PropertiesChanged signal spec
[thirdparty/systemd.git] / src / util.h
index e8d9b3e74bb496503db44ece59973719047d1d33..7490236fa0915e4abaf678c818dadd1864278c9f 100644 (file)
@@ -339,6 +339,9 @@ char *ellipsize(const char *s, unsigned length, unsigned percent);
 
 int touch(const char *path);
 
+#define NULSTR_FOREACH(i, l) \
+        for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)
+
 const char *ioprio_class_to_string(int i);
 int ioprio_class_from_string(const char *s);