* added include files containing structural information from our database backend.
[citadel.git] / citadel / include / datadefinitions.h
1
2
3 /**
4  * this file contains the defines that convert our x-macros to datatypes
5  */
6 #define CFG_VALUE(a,b) a
7 #define SUBSTRUCT(a) a
8 #define SUBSTRUCT_ELEMENT(a)
9 #define PROTOCOL_ONLY(a)
10 #define SERVER_PRIVATE(a) a
11 #define NO_ARTV(a) a
12
13 #define LONG(a) long a
14 #define UNSIGNED(a) unsigned a
15 #define UNSIGNED_INT(a) unsigned int a
16 #define INTEGER(a) int a
17
18 #define UNSIGNED_SHORT(a) unsigned short a
19 #define UINT8(a) cit_uint8_t a
20 #define CHAR(a) char a
21
22 #define TIME(a) time_t a
23 #define UID_T(a) uid_t a
24
25
26
27 #define STRING_BUF(a, b) char a[b]
28 #define STRING(a) char *a
29