chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: rework /proc/cmdline parser to use unquote_first_word()
[elogind.git]
/
src
/
shared
/
strv.h
diff --git
a/src/shared/strv.h
b/src/shared/strv.h
index 3034073d3288e5a28871769b4561b4d53d70837c..9c9633c515f04db60488461c810c89af7cffe927 100644
(file)
--- a/
src/shared/strv.h
+++ b/
src/shared/strv.h
@@
-28,6
+28,7
@@
char *strv_find(char **l, const char *name) _pure_;
char *strv_find_prefix(char **l, const char *name) _pure_;
char *strv_find(char **l, const char *name) _pure_;
char *strv_find_prefix(char **l, const char *name) _pure_;
+char *strv_find_startswith(char **l, const char *name) _pure_;
void strv_free(char **l);
DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free);
void strv_free(char **l);
DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free);
@@
-62,7
+63,7
@@
static inline bool strv_isempty(char * const *l) {
}
char **strv_split(const char *s, const char *separator);
}
char **strv_split(const char *s, const char *separator);
-
char **strv_split_quoted(
const char *s);
+
int strv_split_quoted(char ***t,
const char *s);
char **strv_split_newlines(const char *s);
char *strv_join(char **l, const char *separator);
char **strv_split_newlines(const char *s);
char *strv_join(char **l, const char *separator);