* Removed some temporary diagnostics that had been left in serv_sieve.c
[citadel.git] / citadel / include / artv_serialize.h
blob8e4c978dd3b84cdb21d9a6982bb58a48c3d20d10
1 /**
3 * $Id$
5 * this file contains the defines that cause our x-macros to serialize for artv export
6 */
8 #define CFG_VALUE(a,b) a
9 #define NO_ARTV(a)
10 #define PROTOCOL_ONLY(a)
11 #define SERVER_PRIVATE(a) a
12 #define SUBSTRUCT(a)
13 #define SUBSTRUCT_ELEMENT(a) a
15 #define UNSIGNED(a) cprintf("%u\n", buf->a)
16 #define UNSIGNED_INT(a) cprintf("%u\n", buf->a)
17 #define INTEGER(a) cprintf("%d\n", buf->a)
18 #define LONG(a) cprintf("%ld\n", buf->a)
19 #define UINT8(a) cprintf("%d\n", buf->a)
20 #define UNSIGNED_SHORT(a) cprintf("%u\n", buf->a)
21 #define CHAR(a) cprintf("%d\n", buf->a)
23 #define TIME(a) cprintf("%ld\n", (long)buf->a)
24 #define UID_T(a) cprintf("%ld\n", (long)buf->a)
26 #define STRING_BUF(a, b) cprintf("%s\n", buf->a)
27 #define STRING(a) cprintf("%s\n", buf->a)