Sat, 15 Oct 2011 14:52:12 +0200
Increased warning level, fixed resulting warnings, changed std form c99 to gnu99
| 10 | 1 | /* |
| 2 | * suffix_list.h | |
| 3 | * | |
| 4 | * Created on: 15.09.2011 | |
| 5 | * Author: beckermi | |
| 6 | */ | |
| 7 | ||
| 8 | #ifndef SUFFIX_LIST_H_ | |
| 9 | #define SUFFIX_LIST_H_ | |
| 10 | ||
| 11 | #include "stdinc.h" | |
| 12 | ||
| 13 | typedef struct _suffix_list { | |
| 14 | int count; | |
| 15 | char** items; | |
| 16 | } suffix_list_t; | |
| 17 | ||
| 18 | #ifdef _cplusplus | |
| 19 | extern "C" { | |
| 20 | #endif | |
| 21 | ||
| 22 | suffix_list_t* new_suffix_list_t(); | |
|
17
5f43f733cc12
fixed suffixList realloc bug + added destroy_suffix_list_t
Mike Becker <universe@uap-core.de>
parents:
11
diff
changeset
|
23 | void destroy_suffix_list_t(suffix_list_t*); |
| 10 | 24 | void add_suffix(suffix_list_t*, char*); |
| 25 | ||
| 26 | #ifdef _cplusplus | |
| 27 | } | |
| 28 | #endif | |
| 29 | ||
| 30 | #endif /* SUFFIX_LIST_H_ */ |