56 #define __attribute__(x)
70 #define kXR_PROTOCOLVERSION 0x00000520
71 #define kXR_PROTXATTVERSION 0x00000500
72 #define kXR_PROTTLSVERSION 0x00000500
73 #define kXR_PROTPGRWVERSION 0x00000511
74 #define kXR_PROTCLONEVERSION 0x00000520
75 #define kXR_PROTSIGNVERSION 0x00000310
76 #define kXR_PROTOCOLVSTRING "5.2.0"
332 static char*
NVecInsert(
const char *name,
char *buffer );
336 static char*
VVecInsert(
const char *value,
char *buffer );
344 static char*
NVecRead(
char* buffer,
char *&name );
1168 #define kXR_secOData 0x01
1169 #define kXR_secOFrce 0x02
1173 #define kXR_secNone 0
1174 #define kXR_secCompatible 1
1175 #define kXR_secStandard 2
1176 #define kXR_secIntense 3
1177 #define kXR_secPedantic 4
1181 #define kXR_signIgnore 0
1182 #define kXR_signLikely 1
1183 #define kXR_signNeeded 2
1188 #define kXR_secver_0 0
1192 #define kXR_DataServer 1
1193 #define kXR_LBalServer 0
1198 #define kXR_isManager 0x00000002
1199 #define kXR_isServer 0x00000001
1200 #define kXR_attrCache 0x00000080
1201 #define kXR_attrMeta 0x00000100
1202 #define kXR_attrProxy 0x00000200
1203 #define kXR_attrSuper 0x00000400
1204 #define kXR_attrVirtRdr 0x00000800
1208 #define kXR_recoverWrts 0x00001000
1209 #define kXR_collapseRedir 0x00002000
1210 #define kXR_ecRedir 0x00004000
1214 #define kXR_anongpf 0x00800000
1215 #define kXR_supgpf 0x00400000
1216 #define kXR_suppgrw 0x00200000
1217 #define kXR_supposc 0x00100000
1221 #define kXR_haveTLS 0x80000000
1222 #define kXR_gotoTLS 0x40000000
1223 #define kXR_tlsAny 0x1f000000
1224 #define kXR_tlsData 0x01000000
1225 #define kXR_tlsGPF 0x02000000
1226 #define kXR_tlsLogin 0x04000000
1227 #define kXR_tlsSess 0x08000000
1228 #define kXR_tlsTPC 0x10000000
1229 #define kXR_tlsGPFA 0x20000000
1242 #define kXR_ShortProtRespLen sizeof(ServerResponseBody_Protocol)-\
1243 sizeof(ServerResponseReqs_Protocol)
1370 #if !defined(ENOTBLK)
1373 #if !defined(ETXTBSY)
1376 #if !defined(ENOBUFS)
1379 #if !defined(ENETUNREACH)
1380 #define ENETUNREACH 114
1385 #define ENOATTR ENODATA
1389 #define EBADRQC EBADRPC
1405 {
if (rc < 0) rc = -rc;
1422 case ENOTEMPTY: [[fallthrough]];
1492 default:
return ENOMSG;
1535 #define kXR_maxReqRetry 10
static const int kXR_ckpRollback
union ServerResponse::@0 body
static const int kXR_ckpMinMax
ServerResponseStatus status
static const int kXR_ckpXeq
struct ServerResponseBody_Status bdy
ServerResponseHeader resphdr
ServerResponseSVec_Protocol secvec
char chkszreq[25-sizeof(ClientRequest)]
struct ServerResponseHeader hdr
union ServerResponseV2::@1 info
char chkszrsp[9-sizeof(ServerResponseHeader)]
static const int kXR_ckpCommit
ServerResponseHeader resphdr
static const int kXR_ckpQuery
ServerResponseReqs_Protocol secreq
static const int kXR_ckpBegin
unsigned long long kXR_unt64
int mkdir(const char *path, mode_t mode)
ssize_t readv(int fildes, const struct iovec *iov, int iovcnt)
int rmdir(const char *path)
ssize_t read(int fildes, void *buf, size_t nbyte)
static int toErrno(int xerr)
kXR_int32 ServerResponseType
static const char * reqName(kXR_unt16 reqCode)
static const char * errName(kXR_int32 errCode)
static int mapError(int rc)
static const int maxCloneln
static const int kXR_pgUnitSZ
static const int kXR_statusBodyLen
static const int kXR_pgPageSZ
static const int wlItemLen
static const int maxRvecln
static const int maxRVdsz
struct ServerResponseBifs_Protocol bifReqs
static const int maxRvecsz
static const int clItemLen
static const int maxClonesz
static const int minRVbsz
static const kXR_char kXR_AnyPath
static const int kXR_pgMaxEpr
struct ServerResponseReqs_Protocol secReqs
static const int maxWvecsz
static const int maxWvecln
static const int kXR_pgPageBL
static const int kXR_pgMaxEos
static const int rlItemLen
static const int kXR_pgRetry
static char * VVecInsert(const char *value, char *buffer)
static char * NVecRead(char *buffer, kXR_unt16 &rc)
static char * VVecRead(char *buffer, kXR_int32 &len)
static char * NVecInsert(const char *name, char *buffer)
static const kXR_int32 doSync