13enum xsd_sockmsg_type {
31 XS_IS_DOMAIN_INTRODUCED,
40#define XS_WRITE_NONE "NONE"
41#define XS_WRITE_CREATE "CREATE"
42#define XS_WRITE_CREATE_EXCL "CREATE|EXCL"
47 const CHAR8 *errstring;
51#define XSD_ERROR(x) { x, #x }
54 #if defined (__GNUC__)
66 XSD_ERROR (ENOTEMPTY),
94#define XENSTORE_RING_SIZE 1024
95typedef UINT32 XENSTORE_RING_IDX;
96#define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))
98 CHAR8 req[XENSTORE_RING_SIZE];
99 CHAR8 rsp[XENSTORE_RING_SIZE];
100 XENSTORE_RING_IDX req_cons, req_prod;
101 XENSTORE_RING_IDX rsp_cons, rsp_prod;
102 UINT32 server_features;
107#define XENSTORE_PAYLOAD_MAX 4096
110#define XENSTORE_ABS_PATH_MAX 3072
111#define XENSTORE_REL_PATH_MAX 2048
114#define XENSTORE_SERVER_FEATURE_RECONNECTION 1
117#define XENSTORE_CONNECTED 0
118#define XENSTORE_RECONNECT 1
unsigned long long UINT64 __attribute__((aligned(8)))