Searched refs:StringList (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | compat_stringlist.h | 42 } StringList; typedef 44 StringList *sl_init(void); 45 int sl_add(StringList *, char *); 46 void sl_free(StringList *, int); 47 char *sl_find(StringList *, const char *); 48 int sl_delete(StringList *, const char *, int);
|
H A D | compat_stringlist.c | 43 StringList * 46 StringList *sl; in sl_init() 48 sl = malloc(sizeof(StringList)); in sl_init() 67 sl_add(StringList *sl, char *name) in sl_add() 88 sl_free(StringList *sl, int all) in sl_free() 108 sl_find(StringList *sl, const char *name) in sl_find() 120 sl_delete(StringList *sl, const char *name, int all) in sl_delete()
|