8360753bca475358e0059c41480ef8edf0a1b103
1 /* Written by Krzysztof Kowalczyk (http://blog.kowalczyk.info)
2 The author disclaims copyright to this source code. */
3 #ifndef STRLIST_UTIL_H_
4 #define STRLIST_UTIL_H_
11 typedef struct StrList
{
12 struct StrList
* next
;
16 char * StrDupN(char *str
, size_t len
);
17 char * StrDup(char *str
);
19 int StrList_Len(StrList
**root
);
20 BOOL
StrList_InsertAndOwn(StrList
**root
, char *txt
);
21 BOOL
StrList_Insert(StrList
**root
, char *txt
);
22 void StrList_Destroy(StrList
**root
);