1 /* dynlist.h: Dynamic lists and buffers in C
2 * created 1999-Jan-06 15:04 jmk
3 * autodate: 2000-Mar-08 02:26
5 * by Jim Knoble <jmknoble@pobox.com>
6 * Copyright (C) 1999 Jim Knoble
10 * The software is provided "as is", without warranty of any kind,
11 * express or implied, including but not limited to the warranties of
12 * merchantability, fitness for a particular purpose and
13 * noninfringement. In no event shall the author(s) be liable for any
14 * claim, damages or other liability, whether in an action of
15 * contract, tort or otherwise, arising from, out of or in connection
16 * with the software or the use or other dealings in the software.
18 * Permission to use, copy, modify, distribute, and sell this software
19 * and its documentation for any purpose is hereby granted without
20 * fee, provided that the above copyright notice appear in all copies
21 * and that both that copyright notice and this permission notice
22 * appear in supporting documentation.
28 #define APPEND_SUCCESS 1
29 #define APPEND_FAILURE 0
31 int append_to_list(char ***list_ptr
, int *list_len
, int *i
, char *item
);
32 int append_to_buf(char **buf
, int *buflen
, int *i
, int c
);
33 int append_string_to_buf(char **buf
, int *buflen
, int *i
, char *s
);
35 #endif /* H_DYNLIST */