X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=string.h;h=128376995c0b45c1b565ba4527a8fdec0fd0aa2a;hp=c98ed89e1769265052b92dd794f9b1457c9d8ac6;hb=5008f98a8208d96c3c777476d6df7534c6d2ca49;hpb=694171759afb90bfdc552676ff6d04697c93af00 diff --git a/string.h b/string.h index c98ed89..1283769 100644 --- a/string.h +++ b/string.h @@ -4,11 +4,15 @@ * Licensed under the GPL v2. For licencing details see COPYING. */ -/** \file string.h exported sybmols from string.c */ +/** \file string.h \brief Exported sybmols from string.c */ -__must_check __malloc void *para_realloc(void *p, size_t size); -__must_check __malloc void *para_malloc(size_t size); -__must_check __malloc void *para_calloc(size_t size); -__must_check __malloc char *para_strdup(const char *s); +__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, ...); -int para_atoi64(const char *str, int64_t *result); +__must_check int atoi64(const char *str, int64_t *result); +__must_check unsigned split_args(char *args, char *** const argv_ptr, const char *delim); +int create_argv(const char *line, char ***result); +void free_argv(char **argv);