diff options
Diffstat (limited to 'server/Source/SimpleDBTxt.h')
-rwxr-xr-x | server/Source/SimpleDBTxt.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/server/Source/SimpleDBTxt.h b/server/Source/SimpleDBTxt.h new file mode 100755 index 0000000..e971fc4 --- /dev/null +++ b/server/Source/SimpleDBTxt.h | |||
@@ -0,0 +1,27 @@ | |||
1 | #ifndef SIMPLE_DB_TXT_H | ||
2 | #define SIMPLE_DB_TXT_H | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | #include "SimpleDB.h" | ||
9 | |||
10 | #define SDBT_BAD_FORMAT_CHARACTER '@' | ||
11 | #define SDBT_PENDING_COMMENT_FORMAT_CHARACTER '?' | ||
12 | #define SDBT_DELETED_LINE_CHARACTER ';' | ||
13 | |||
14 | uint32_t sdbtGetRecordSize(void * record); | ||
15 | bool sdbtCheckDeleted(void * record); | ||
16 | bool sdbtCheckIgnored(void * record); | ||
17 | void sdbtMarkDeleted(void * record); | ||
18 | uint32_t sdbtGetRecordCount(db_descriptor * db); | ||
19 | bool sdbtErrorComment(db_descriptor * db, char * record); | ||
20 | void sdbtMarkError(db_descriptor * db, char * record, parsingResult_t * parsingResult); | ||
21 | |||
22 | #ifdef __cplusplus | ||
23 | } | ||
24 | #endif | ||
25 | |||
26 | #endif /* SIMPLE_DB_TXT_H */ | ||
27 | |||