diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-16 21:32:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-16 21:32:03 +0200 |
commit | 0038aed166da0ae991f13cf512b84ac8f77d22ae (patch) | |
tree | e949a1977a563e44763d6000c1467ef4726705cf /src/basic/strv.h | |
parent | d1584b9f5b8ba7857ee8f287c87a78da74ec30fe (diff) | |
parent | 2eadf91ca15a982adf71b86e6ee035ac368e74bc (diff) |
Merge pull request #908 from richardmaw-codethink/nspawn-path-escapes-v3
Allow arbitrary file paths to be passed to nspawn (v3)
Diffstat (limited to 'src/basic/strv.h')
-rw-r--r-- | src/basic/strv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/strv.h b/src/basic/strv.h index 22f8f98fda..f07da8cdf3 100644 --- a/src/basic/strv.h +++ b/src/basic/strv.h @@ -73,7 +73,7 @@ static inline bool strv_isempty(char * const *l) { char **strv_split(const char *s, const char *separator); char **strv_split_newlines(const char *s); -int strv_split_quoted(char ***t, const char *s, UnquoteFlags flags); +int strv_split_extract(char ***t, const char *s, const char *separators, ExtractFlags flags); char *strv_join(char **l, const char *separator); char *strv_join_quoted(char **l); @@ -145,6 +145,7 @@ void strv_print(char **l); })) char **strv_reverse(char **l); +char **strv_shell_escape(char **l, const char *bad); bool strv_fnmatch(char* const* patterns, const char *s, int flags); |