diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-03-07 10:21:06 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-03-07 10:21:06 +0100 |
commit | 23b8fb6f1a10062e6f7b951c90d55c95e42e65e7 (patch) | |
tree | 98c352e24a4aede43381f4fa2923f6ee834db4d2 /utils.h | |
parent | 3d70526ed9084ee85d1f71130749a8a5407da592 (diff) | |
download | bubblewrap-23b8fb6f1a10062e6f7b951c90d55c95e42e65e7.tar.gz |
Add has_path_prefix util
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -70,6 +70,8 @@ char* strdup_printf (const char *format, ...); bool has_prefix (const char *str, const char *prefix); +bool has_path_prefix (const char *str, + const char *prefix); int fdwalk (int proc_fd, int (*cb)(void *data, int fd), void *data); |