chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dbus: properly generate UnknownInterface, UnknownProperty and PropertyReadOnly errors
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index a2e3b944399a6a292d0c227e92c40250d3acb460..13e5f6203ac9233980287f25b7cbf5a0562cbff9 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-386,6
+386,8
@@
void execute_directory(const char *directory, DIR *_d, char *argv[]);
int kill_and_sigcont(pid_t pid, int sig);
+bool nulstr_contains(const char*nulstr, const char *needle);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)