diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-07 02:07:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-07 02:07:39 +0200 |
commit | 8092a428d40ac682df9e80c36988043854579679 (patch) | |
tree | 789262689c0eddf1deabfc01294b36140bee65a6 /src/util.h | |
parent | 31a5f880cf7a742e63a81bacef681939ee4e6616 (diff) |
path,unit: support globbing in conditions and path units
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 411efae933..b8bbd23e8c 100644 --- 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) |