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 );
1126 #define kXR_secOData 0x01
1127 #define kXR_secOFrce 0x02
1131 #define kXR_secNone 0
1132 #define kXR_secCompatible 1
1133 #define kXR_secStandard 2
1134 #define kXR_secIntense 3
1135 #define kXR_secPedantic 4
1139 #define kXR_signIgnore 0
1140 #define kXR_signLikely 1
1141 #define kXR_signNeeded 2
1146 #define kXR_secver_0 0
1150 #define kXR_DataServer 1
1151 #define kXR_LBalServer 0
1156 #define kXR_isManager 0x00000002
1157 #define kXR_isServer 0x00000001
1158 #define kXR_attrCache 0x00000080
1159 #define kXR_attrMeta 0x00000100
1160 #define kXR_attrProxy 0x00000200
1161 #define kXR_attrSuper 0x00000400
1162 #define kXR_attrVirtRdr 0x00000800
1166 #define kXR_recoverWrts 0x00001000
1167 #define kXR_collapseRedir 0x00002000
1168 #define kXR_ecRedir 0x00004000
1172 #define kXR_anongpf 0x00800000
1173 #define kXR_supgpf 0x00400000
1174 #define kXR_suppgrw 0x00200000
1175 #define kXR_supposc 0x00100000
1179 #define kXR_haveTLS 0x80000000
1180 #define kXR_gotoTLS 0x40000000
1181 #define kXR_tlsAny 0x1f000000
1182 #define kXR_tlsData 0x01000000
1183 #define kXR_tlsGPF 0x02000000
1184 #define kXR_tlsLogin 0x04000000
1185 #define kXR_tlsSess 0x08000000
1186 #define kXR_tlsTPC 0x10000000
1187 #define kXR_tlsGPFA 0x20000000
1200 #define kXR_ShortProtRespLen sizeof(ServerResponseBody_Protocol)-\
1201 sizeof(ServerResponseReqs_Protocol)
1327 #if !defined(ENOTBLK)
1330 #if !defined(ETXTBSY)
1333 #if !defined(ENOBUFS)
1336 #if !defined(ENETUNREACH)
1337 #define ENETUNREACH 114
1342 #define ENOATTR ENODATA
1346 #define EBADRQC EBADRPC
1362 {
if (rc < 0) rc = -rc;
1377 case ENOTEMPTY: [[fallthrough]];
1447 default:
return ENOMSG;
1490 #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 truncate(const char *path, off_t offset)
int stat(const char *path, struct stat *buf)
int open(const char *path, int oflag,...)
int mkdir(const char *path, mode_t mode)
ssize_t readv(int fildes, const struct iovec *iov, int iovcnt)
ssize_t write(int fildes, const void *buf, size_t nbyte)
int rmdir(const char *path)
ssize_t writev(int fildes, const struct iovec *iov, int iovcnt)
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 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 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