]> git.tuebingen.mpg.de Git - adu.git/blobdiff - string.h
parse_format_string(): Explicitly set the result pointer to NULL on errors.
[adu.git] / string.h
index 7229b7d9d87fc3cb7452705d3215e225088f21c2..37c7cd815f0bad1cfa0b376bdbc29fb240b5e2d2 100644 (file)
--- a/string.h
+++ b/string.h
@@ -10,6 +10,9 @@ __must_check __malloc void *adu_realloc(void *p, size_t size);
 __must_check __malloc void *adu_malloc(size_t size);
 __must_check __malloc void *adu_calloc(size_t size);
 __must_check __malloc char *adu_strdup(const char *s);
+__must_check __malloc char *adu_strcat(char *a, const char *b);
 __must_check __malloc __printf_1_2 char *make_message(const char *fmt, ...);
 __must_check int atoi64(const char *str, int64_t *result);
 int parse_uid_arg(const char *orig_arg, struct uid_range **ur);
+int create_argv(const char *line, char ***result);
+void free_argv(char **argv);