chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite...
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 8a510ae5c1133c0caacf3624f555adc031f2bc39..e87fb23bf8a42a7a4a5c0faa3ae2e20fb16d87eb 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-31,6
+31,8
@@
#include <signal.h>
#include <sched.h>
#include <limits.h>
#include <signal.h>
#include <sched.h>
#include <limits.h>
+#include <sys/stat.h>
+#include <dirent.h>
#include "macro.h"
#include "macro.h"
@@
-358,6
+360,10
@@
int wait_for_terminate_and_warn(const char *name, pid_t pid);
_noreturn_ void freeze(void);
_noreturn_ void freeze(void);
+bool null_or_empty(struct stat *st);
+
+DIR *xopendirat(int dirfd, const char *name);
+
#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)