5 * this file contains the defines that cause our x-macros to serialize for artv export
7 #define CFG_VALUE(a,b) a
8 #define PROTOCOL_ONLY(a)
9 #define SERVER_PRIVATE(a) a
12 #define SUBSTRUCT_ELEMENT(a) a
14 #define UNSIGNED(a) client_getln(cbuf, sizeof cbuf); buf->a = atoi(cbuf)
15 #define UNSIGNED_INT(a) client_getln(cbuf, sizeof cbuf); buf->a = atoi(cbuf)
16 #define INTEGER(a) client_getln(cbuf, sizeof cbuf); buf->a = atoi(cbuf)
17 #define LONG(a) client_getln(cbuf, sizeof cbuf); buf->a = atol(cbuf)
18 #define UINT8(a) client_getln(cbuf, sizeof cbuf); buf->a = atoi(cbuf)
19 #define UNSIGNED_SHORT(a) client_getln(cbuf, sizeof cbuf); buf->a = atoi(cbuf)
20 #define CHAR(a) client_getln(cbuf, sizeof cbuf); buf->a = atoi(cbuf)
22 #define TIME(a) client_getln(cbuf, sizeof cbuf); buf->a = atol(cbuf)
23 #define UID_T(a) client_getln(cbuf, sizeof cbuf); buf->a = atol(cbuf)
25 #define STRING_BUF(a, b) client_getln(buf->a, b)
26 #define STRING(a) client_getln(buf->a, sizeof buf->a)