chiark / gitweb /
strv: rework strv_split_quoted() to use unquote_first_word()
[elogind.git] / src / shared / strv.h
index 9c9633c515f04db60488461c810c89af7cffe927..47618bd26c8c44099e463ad6cdb5fd7466109d51 100644 (file)
@@ -63,9 +63,10 @@ static inline bool strv_isempty(char * const *l) {
 }
 
 char **strv_split(const char *s, const char *separator);
-int strv_split_quoted(char ***t, const char *s);
 char **strv_split_newlines(const char *s);
 
+int strv_split_quoted(char ***t, const char *s, bool relax);
+
 char *strv_join(char **l, const char *separator);
 char *strv_join_quoted(char **l);