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