56#define __attribute__(x)
70#define kXR_PROTOCOLVERSION 0x00000511
71#define kXR_PROTXATTVERSION 0x00000500
72#define kXR_PROTTLSVERSION 0x00000500
73#define kXR_PROTPGRWVERSION 0x00000511
74#define kXR_PROTSIGNVERSION 0x00000310
75#define kXR_PROTOCOLVSTRING "5.1.0"
302 static char*
NVecInsert(
const char *name,
char *buffer );
306 static char*
VVecInsert(
const char *value,
char *buffer );
314 static char*
NVecRead(
char* buffer,
char *&name );
1124#define kXR_secOData 0x01
1125#define kXR_secOFrce 0x02
1129#define kXR_secNone 0
1130#define kXR_secCompatible 1
1131#define kXR_secStandard 2
1132#define kXR_secIntense 3
1133#define kXR_secPedantic 4
1137#define kXR_signIgnore 0
1138#define kXR_signLikely 1
1139#define kXR_signNeeded 2
1144#define kXR_secver_0 0
1148#define kXR_DataServer 1
1149#define kXR_LBalServer 0
1154#define kXR_isManager 0x00000002
1155#define kXR_isServer 0x00000001
1156#define kXR_attrMeta 0x00000100
1157#define kXR_attrProxy 0x00000200
1158#define kXR_attrSuper 0x00000400
1159#define kXR_attrVirtRdr 0x00000800
1163#define kXR_recoverWrts 0x00001000
1164#define kXR_collapseRedir 0x00002000
1165#define kXR_ecRedir 0x00004000
1169#define kXR_anongpf 0x00800000
1170#define kXR_supgpf 0x00400000
1171#define kXR_suppgrw 0x00200000
1172#define kXR_supposc 0x00100000
1176#define kXR_haveTLS 0x80000000
1177#define kXR_gotoTLS 0x40000000
1178#define kXR_tlsAny 0x1f000000
1179#define kXR_tlsData 0x01000000
1180#define kXR_tlsGPF 0x02000000
1181#define kXR_tlsLogin 0x04000000
1182#define kXR_tlsSess 0x08000000
1183#define kXR_tlsTPC 0x10000000
1184#define kXR_tlsGPFA 0x20000000
1197#define kXR_ShortProtRespLen sizeof(ServerResponseBody_Protocol)-\
1198 sizeof(ServerResponseReqs_Protocol)
1324#if !defined(ENOTBLK)
1327#if !defined(ETXTBSY)
1330#if !defined(ENOBUFS)
1333#if !defined(ENETUNREACH)
1334#define ENETUNREACH 114
1339#define ENOATTR ENODATA
1343#define EBADRQC EBADRPC
1359 {
if (rc < 0) rc = -rc;
1374 case ENOTEMPTY: [[fallthrough]];
1444 default:
return ENOMSG;
1487#define kXR_maxReqRetry 10
static const int kXR_ckpRollback
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
char chkszrsp[9-sizeof(ServerResponseHeader)]
static const int kXR_ckpCommit
ServerResponseHeader resphdr
static const int kXR_ckpQuery
ServerResponseReqs_Protocol secreq
union ServerResponseV2::@2 info
union ServerResponse::@1 body
static const int kXR_ckpBegin
unsigned long long kXR_unt64
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 kXR_pgUnitSZ
static const int kXR_statusBodyLen
static const int kXR_pgPageSZ
static const int wlItemLen
static const int maxRvecln
static const int maxRvecsz
static const kXR_char kXR_AnyPath
static const int kXR_pgMaxEpr
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