* Updated the wording of the output of a DOWN command ued to restart the server.
[citadel.git] / citadel / include / artv_deserialize.h
blob18699ad5dc79074f75f1ae991e97377dc5b51909
1 /**
3 * $Id$
5 * this file contains the defines that cause our x-macros to serialize for artv export
6 */
7 #define CFG_VALUE(a,b) a
8 #define PROTOCOL_ONLY(a)
9 #define SERVER_PRIVATE(a) a
10 #define NO_ARTV(a)
11 #define SUBSTRUCT(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)