Fri, 16 Sep 2011 10:36:45 +0200
some minor fixes + makefile now injects revisionnumber into cline.h
| 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(); | |
| 23 | void add_suffix(suffix_list_t*, char*); | |
| 24 | ||
| 25 | #ifdef _cplusplus | |
| 26 | } | |
| 27 | #endif | |
| 28 | ||
| 29 | #endif /* SUFFIX_LIST_H_ */ |