Rename bloom_test_and_insert() to bloom_insert().
[adu.git] / string.h
1 /*
2 * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
3 *
4 * Licensed under the GPL v2. For licencing details see COPYING.
5 */
6
7 /** \file string.h \brief Exported sybmols from string.c */
8
9 __must_check __malloc void *adu_realloc(void *p, size_t size);
10 __must_check __malloc void *adu_malloc(size_t size);
11 __must_check __malloc void *adu_calloc(size_t size);
12 __must_check __malloc char *adu_strdup(const char *s);
13 __must_check __malloc char *adu_strcat(char *a, const char *b);
14 __must_check __malloc __printf_1_2 char *make_message(const char *fmt, ...);
15 __must_check int atoi64(const char *str, int64_t *result);
16 __must_check unsigned split_args(char *args, char *** const argv_ptr, const char *delim);
17 int create_argv(const char *line, char ***result);
18 void free_argv(char **argv);