server/src/util/lists.h
2019-09-13 21:35:44 +02:00

22 lines
437 B
C

#ifndef LISTS_H
#define LISTS_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct strlist {
struct strlist *next;
char *s;
} strlist;
void addstrlist(strlist ** SP, const char *s);
void freestrlist(strlist * s);
void addlist(void *l1, void *p1);
void translist(void *l1, void *l2, void *p);
void freelist(void *p1);
unsigned int listlen(void *l);
#ifdef __cplusplus
}
#endif
#endif