diff options
Diffstat (limited to 'common/stringhelp.h')
-rw-r--r-- | common/stringhelp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/stringhelp.h b/common/stringhelp.h index d9225a3bb..b6f4167f7 100644 --- a/common/stringhelp.h +++ b/common/stringhelp.h @@ -148,6 +148,10 @@ char **strsplit (char *string, char delim, char replacement, int *count); /* Tokenize STRING using the set of delimiters in DELIM. */ char **strtokenize (const char *string, const char *delim); +/* Split STRING into space delimited fields and store them in the + * provided ARRAY. */ +int split_fields (char *string, char **array, int arraysize); + /* Return True if MYVERSION is greater or equal than REQ_VERSION. */ int compare_version_strings (const char *my_version, const char *req_version); |