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 2bf86d997951d27d731386440fafc6f6d878a04c..e87fb23bf8a42a7a4a5c0faa3ae2e20fb16d87eb 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-32,6
+32,7
@@
#include <sched.h>
#include <limits.h>
#include <sys/stat.h>
#include <sched.h>
#include <limits.h>
#include <sys/stat.h>
+#include <dirent.h>
#include "macro.h"
#include "macro.h"
@@
-361,6
+362,8
@@
_noreturn_ void freeze(void);
bool null_or_empty(struct stat *st);
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)