chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
path,unit: support globbing in conditions and path units
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 411efae93373a747d1318bb634d67864cb691f7e..b8bbd23e8c09532cc92a80d85841eee98f3b8a5d 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-447,6
+447,8
@@
int socket_from_display(const char *display, char **path);
int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home);
+int glob_exists(const char *path);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)