reactos/rosapps/smartpdf/baseutils/strlist_util.h
Klemens Friedl 435a566751 SmartPDF - lightweight pdf viewer app for rosapps
* sumatrapdf - vendor import
* everything compiles (libjpeg, poppler, fitz, sumatrapdf)
* does NOT link

(remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it)

svn path=/trunk/; revision=29295
2007-09-29 08:39:35 +00:00

28 lines
597 B
C

/* Written by Krzysztof Kowalczyk (http://blog.kowalczyk.info)
The author disclaims copyright to this source code. */
#ifndef STRLIST_UTIL_H_
#define STRLIST_UTIL_H_
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct StrList {
struct StrList * next;
char * str;
} StrList;
char * StrDupN(char *str, size_t len);
char * StrDup(char *str);
int StrList_Len(StrList **root);
BOOL StrList_InsertAndOwn(StrList **root, char *txt);
BOOL StrList_Insert(StrList **root, char *txt);
void StrList_Destroy(StrList **root);
#ifdef __cplusplus
}
#endif
#endif