Home
last modified time | relevance | path

Searched refs:StringList (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/mandoc/
H A Dcompat_stringlist.h42 } 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 Dcompat_stringlist.c43 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()