Go to the documentation of this file.
56 #define __attribute__(x)
70 #define kXR_PROTOCOLVERSION 0x00000500
71 #define kXR_PROTXATTVERSION 0x00000500
72 #define kXR_PROTTLSVERSION 0x00000500
73 #define kXR_PROTSIGNVERSION 0x00000310
74 #define kXR_PROTOCOLVSTRING "5.0.0"
281 static char*
NVecRead(
char* buffer,
char *&name );
1025 #define kXR_secOData 0x01
1026 #define kXR_secOFrce 0x02
1030 #define kXR_secNone 0
1031 #define kXR_secCompatible 1
1032 #define kXR_secStandard 2
1033 #define kXR_secIntense 3
1034 #define kXR_secPedantic 4
1038 #define kXR_signIgnore 0
1039 #define kXR_signLikely 1
1040 #define kXR_signNeeded 2
1045 #define kXR_secver_0 0
1049 #define kXR_DataServer 1
1050 #define kXR_LBalServer 0
1055 #define kXR_isManager 0x00000002
1056 #define kXR_isServer 0x00000001
1057 #define kXR_attrMeta 0x00000100
1058 #define kXR_attrProxy 0x00000200
1059 #define kXR_attrSuper 0x00000400
1060 #define kXR_attrVirtRdr 0x00000800
1064 #define kXR_anongpf 0x00800000
1065 #define kXR_supgpf 0x00400000
1066 #define kXR_suppgrw 0x00200000
1067 #define kXR_supposc 0x00100000
1071 #define kXR_haveTLS 0x80000000
1072 #define kXR_gotoTLS 0x40000000
1073 #define kXR_tlsAny 0x1f000000
1074 #define kXR_tlsData 0x01000000
1075 #define kXR_tlsGPF 0x02000000
1076 #define kXR_tlsLogin 0x04000000
1077 #define kXR_tlsSess 0x08000000
1078 #define kXR_tlsTPC 0x10000000
1079 #define kXR_tlsGPFA 0x20000000
1092 #define kXR_ShortProtRespLen sizeof(ServerResponseBody_Protocol)-\
1093 sizeof(ServerResponseReqs_Protocol)
1207 #if !defined(ENOTBLK)
1210 #if !defined(ETXTBSY)
1213 #if !defined(ENOBUFS)
1216 #if !defined(ENETUNREACH)
1217 #define ENETUNREACH 114
1222 #define ENOATTR ENODATA
1226 #if defined(__APPLE__)
1227 #define EBADRQC EBADRPC
1244 {
if (rc < 0) rc = -rc;
1312 default:
return ENOMSG;
1355 #define kXR_maxReqRetry 10
kXR_char streamid[2]
Definition: XProtocol.hh:298
kXR_char pathid
Definition: XProtocol.hh:485
@ kXR_noReplicas
Definition: XProtocol.hh:952
@ kXR_evict
Definition: XProtocol.hh:547
ServerResponseBody_Waitresp waitresp
Definition: XProtocol.hh:1193
int kXR_int32
Definition: XPtypes.hh:89
@ kXR_NotAuthorized
Definition: XProtocol.hh:933
@ kXR_onlyprv4
Definition: XProtocol.hh:329
@ kXR_NoMemory
Definition: XProtocol.hh:931
@ kXR_mv
Definition: XProtocol.hh:120
#define readv(a, b, c)
Definition: XrdPosix.hh:79
@ kXR_secreqs
Definition: XProtocol.hh:517
@ kXR_open
Definition: XProtocol.hh:121
@ kXR_Qvisa
Definition: XProtocol.hh:573
XOpenRequestOption
Definition: XProtocol.hh:411
kXR_char reqflags
Definition: XProtocol.hh:469
Definition: XProtocol.hh:148
char chkszreq[25-sizeof(ClientRequest)]
Definition: XProtocol.hh:1197
kXR_char options
Definition: XProtocol.hh:767
kXR_int32 dlen
Definition: XProtocol.hh:464
@ kXR_write
Definition: XProtocol.hh:130
kXR_char streamid[2]
Definition: XProtocol.hh:311
static const kXR_char kXR_AnyPath
Definition: XProtocol.hh:454
@ kXR_vermask
Definition: XProtocol.hh:337
@ kXR_wmode
Definition: XProtocol.hh:542
Definition: XProtocol.hh:386
Definition: XProtocol.hh:986
kXR_unt16 mode
Definition: XProtocol.hh:435
static const char * errName(kXR_int32 errCode)
@ kXR_waitresp
Definition: XProtocol.hh:848
@ kXR_refresh
Definition: XProtocol.hh:419
Definition: XProtocol.hh:895
@ kXR_sigver
Definition: XProtocol.hh:140
struct ServerResponseBody_Status bdy
Definition: XProtocol.hh:1153
Definition: XProtocol.hh:737
kXR_int32 dlen
Definition: XProtocol.hh:718
@ kXR_fattrList
Definition: XProtocol.hh:239
@ kXR_vfs
Definition: XProtocol.hh:709
@ kXR_ExpMask
Definition: XProtocol.hh:523
kXR_char reserved2[8]
Definition: XProtocol.hh:585
@ kXR_posc
Definition: XProtocol.hh:426
@ kXR_ver000
Definition: XProtocol.hh:344
kXR_unt16 requestid
Definition: XProtocol.hh:694
@ kXR_ver004
Definition: XProtocol.hh:348
@ kXR_ExpLogin
Definition: XProtocol.hh:527
kXR_char credtype[4]
Definition: XProtocol.hh:163
XMkdirOptions
Definition: XProtocol.hh:368
@ kXR_QStats
Definition: XProtocol.hh:566
kXR_int32 port
Definition: XProtocol.hh:1100
kXR_int64 offset
Definition: XProtocol.hh:741
@ kXR_DecryptErr
Definition: XProtocol.hh:946
kXR_unt16 requestid
Definition: XProtocol.hh:254
Definition: XProtocol.hh:82
@ kXR_faMaxNlen
Definition: XProtocol.hh:248
kXR_char fhandle[4]
Definition: XProtocol.hh:717
kXR_int32 dlen
Definition: XProtocol.hh:175
kXR_unt16 requestid
Definition: XProtocol.hh:299
kXR_char prty
Definition: XProtocol.hh:554
kXR_char streamid[2]
Definition: XProtocol.hh:664
kXR_unt16 port
Definition: XProtocol.hh:555
static const kXR_int32 doSync
Definition: XProtocol.hh:772
@ kXR_ChkSumErr
Definition: XProtocol.hh:942
Definition: XProtocol.hh:914
kXR_char fhandle[4]
Definition: XProtocol.hh:461
kXR_int32 dlen
Definition: XProtocol.hh:303
@ kXR_NoSpace
Definition: XProtocol.hh:932
@ kREDIRCONNECT
Definition: XProtocol.hh:1347
@ kXR_isDirectory
Definition: XProtocol.hh:939
Definition: XProtocol.hh:692
@ kXR_AttrNotFound
Definition: XProtocol.hh:950
kXR_unt32 crc32c
Definition: XProtocol.hh:1127
kXR_char pathid
Definition: XProtocol.hh:468
Definition: XProtocol.hh:652
Definition: XProtocol.hh:550
@ kOK
Definition: XProtocol.hh:1348
char errmsg[4096]
Definition: XProtocol.hh:960
Definition: XProtocol.hh:630
RequestFlags
Definition: XProtocol.hh:516
kXR_char rsvd
Definition: XProtocol.hh:1015
@ kXR_status
Definition: XProtocol.hh:849
Definition: XProtocol.hh:480
kXR_int32 dlen
Definition: XProtocol.hh:260
long long kXR_int64
Definition: XPtypes.hh:98
kXR_char streamid[2]
Definition: XProtocol.hh:253
Definition: XProtocol.hh:496
short kXR_int16
Definition: XPtypes.hh:66
kXR_unt16 requestid
Definition: XProtocol.hh:581
kXR_int32 wsec
Definition: XProtocol.hh:1338
@ kXR_ableTLS
Definition: XProtocol.hh:518
char data[4096]
Definition: XProtocol.hh:907
@ kXR_auth
Definition: XProtocol.hh:111
static const int isNew
Definition: XProtocol.hh:264
@ kXR_truncate
Definition: XProtocol.hh:139
Definition: XProtocol.hh:1083
@ kXR_gr
Definition: XProtocol.hh:403
kXR_unt16 requestid
Definition: XProtocol.hh:312
@ kXR_rmdir
Definition: XProtocol.hh:126
kXR_int32 dlen
Definition: XProtocol.hh:438
@ kXR_noResponsesYet
Definition: XProtocol.hh:850
char reserved[4]
Definition: XProtocol.hh:897
kXR_int32 dlen
Definition: XProtocol.hh:599
kXR_char streamid[2]
Definition: XProtocol.hh:195
kXR_int32 rlen
Definition: XProtocol.hh:463
XQueryType
Definition: XProtocol.hh:565
kXR_unt16 options
Definition: XProtocol.hh:436
@ kXR_readv
Definition: XProtocol.hh:136
Definition: XProtocol.hh:641
@ kXR_asyncap
Definition: XProtocol.hh:338
kXR_int32 dlen
Definition: XProtocol.hh:624
static const int aData
Definition: XProtocol.hh:265
@ kXR_faMaxVars
Definition: XProtocol.hh:247
kXR_int32 fifth
Definition: XProtocol.hh:87
Definition: XProtocol.hh:194
Definition: XProtocol.hh:995
kXR_char pathid
Definition: XProtocol.hh:755
kXR_unt64 seqno
Definition: XProtocol.hh:698
kXR_char reserved[11]
Definition: XProtocol.hh:716
@ kXR_Qckscan
Definition: XProtocol.hh:571
kXR_char streamid[2]
Definition: XProtocol.hh:433
kXR_char flags
Definition: XProtocol.hh:511
Definition: XProtocol.hh:458
@ kXR_writable
Definition: XProtocol.hh:1117
kXR_char reserved[12]
Definition: XProtocol.hh:437
@ kXR_Overloaded
Definition: XProtocol.hh:947
kXR_char sessid[16]
Definition: XProtocol.hh:968
kXR_int32 dlen
Definition: XProtocol.hh:227
@ kXR_isDir
Definition: XProtocol.hh:1113
@ kXR_nowait
Definition: XProtocol.hh:427
unsigned char kXR_char
Definition: XPtypes.hh:65
kXR_char flags
Definition: XProtocol.hh:697
kXR_int32 protover
Definition: XProtocol.hh:94
@ kXR_other
Definition: XProtocol.hh:1114
@ kXR_SHA256
Definition: XProtocol.hh:677
@ kXR_asyncwt
Definition: XProtocol.hh:876
Definition: XProtocol.hh:609
kXR_char crypto
Definition: XProtocol.hh:699
Definition: XProtocol.hh:297
kXR_char streamid[2]
Definition: XProtocol.hh:653
kXR_char secopt
Definition: XProtocol.hh:1017
kXR_char fhandle[4]
Definition: XProtocol.hh:483
XLoginCapVer
Definition: XProtocol.hh:335
kXR_int32 dlen
Definition: XProtocol.hh:743
kXR_char reserved[14]
Definition: XProtocol.hh:389
@ kXR_Ver_00
Definition: XProtocol.hh:689
kXR_char reserved[14]
Definition: XProtocol.hh:185
@ kXR_readrdok
Definition: XProtocol.hh:327
XErrorCode
Definition: XProtocol.hh:922
#define ENOATTR
Definition: XProtocol.hh:1222
kXR_unt16 optionX
Definition: XProtocol.hh:556
Definition: XProtocol.hh:1008
kXR_char streamid[2]
Definition: XProtocol.hh:594
#define writev(a, b, c)
Definition: XrdPosix.hh:112
kXR_unt16 mode
Definition: XProtocol.hh:378
@ kXR_ver003
Definition: XProtocol.hh:347
kXR_unt16 requestid
Definition: XProtocol.hh:482
kXR_int32 dlen
Definition: XProtocol.hh:391
kXR_char streamid[2]
Definition: XProtocol.hh:693
kXR_int32 first
Definition: XProtocol.hh:83
Definition: XProtocol.hh:883
@ kXR_asynresp
Definition: XProtocol.hh:880
Definition: XProtocol.hh:1151
kXR_unt16 requestid
Definition: XProtocol.hh:213
Definition: XProtocol.hh:619
kXR_char requestid
Definition: XProtocol.hh:1129
kXR_int64 offset
Definition: XProtocol.hh:780
char parms[4096]
Definition: XProtocol.hh:885
@ kXR_ExpBind
Definition: XProtocol.hh:525
@ kXR_gx
Definition: XProtocol.hh:405
@ kXR_stage
Definition: XProtocol.hh:541
static int mapError(int rc)
Definition: XProtocol.hh:1243
kXR_char fhandle[4]
Definition: XProtocol.hh:977
@ kXR_login
Definition: XProtocol.hh:118
Definition: XProtocol.hh:863
@ kXR_ProgressInfo
Definition: XProtocol.hh:1143
Definition: XProtocol.hh:579
@ kXR_nothing
Definition: XProtocol.hh:324
Definition: XProtocol.hh:373
@ kXR_FSError
Definition: XProtocol.hh:928
kXR_unt16 requestid
Definition: XProtocol.hh:150
@ kXR_rsaKey
Definition: XProtocol.hh:679
kXR_char reserved[10]
Definition: XProtocol.hh:513
kXR_int32 dlen
Definition: XProtocol.hh:586
@ kXR_open_read
Definition: XProtocol.hh:416
Definition: XProtocol.hh:92
Definition: XProtocol.hh:1160
@ kXR_file
Definition: XProtocol.hh:1111
kXR_char sec[4096]
Definition: XProtocol.hh:969
@ kXR_AuthFailed
Definition: XProtocol.hh:953
XOpenRequestMode
Definition: XProtocol.hh:399
kXR_int32 errnum
Definition: XProtocol.hh:959
@ kXR_Qopaque
Definition: XProtocol.hh:574
RespType
Definition: XProtocol.hh:1139
@ kXR_ArgMissing
Definition: XProtocol.hh:924
@ kXR_nodata
Definition: XProtocol.hh:684
@ kXR_ExpGPF
Definition: XProtocol.hh:526
@ kXR_ERRFENCE
Definition: XProtocol.hh:954
kXR_int32 dlen
Definition: XProtocol.hh:361
#define rmdir(a)
Definition: XrdPosix.hh:92
@ kXR_fullurl
Definition: XProtocol.hh:325
kXR_char streamid[2]
Definition: XProtocol.hh:224
kXR_char pathid
Definition: XProtocol.hh:604
kXR_unt16 requestid
Definition: XProtocol.hh:225
kXR_char streamid[2]
Definition: XProtocol.hh:374
kXR_char reserved[12]
Definition: XProtocol.hh:729
ServerResponseHeader resphdr
Definition: XProtocol.hh:891
kXR_int32 clientpv
Definition: XProtocol.hh:510
#define write(a, b, c)
Definition: XrdPosix.hh:110
@ kXR_Qopaquf
Definition: XProtocol.hh:575
@ kXR_multipr
Definition: XProtocol.hh:326
@ kXR_Qconfig
Definition: XProtocol.hh:572
kXR_int64 offset
Definition: XProtocol.hh:612
kXR_int32 dlen
Definition: XProtocol.hh:199
kXR_int32 rlen
Definition: XProtocol.hh:632
kXR_char username[8]
Definition: XProtocol.hh:356
kXR_char capver[1]
Definition: XProtocol.hh:359
kXR_int64 offset
Definition: XProtocol.hh:633
@ kXR_rm
Definition: XProtocol.hh:125
kXR_int32 fourth
Definition: XProtocol.hh:86
unsigned int kXR_unt32
Definition: XPtypes.hh:90
kXR_char seclvl
Definition: XProtocol.hh:1018
ServerResponseBody_Bind bind
Definition: XProtocol.hh:1184
#define truncate(a, b)
Definition: XrdPosix.hh:106
kXR_int32 dlen
Definition: XProtocol.hh:152
unsigned short kXR_unt16
Definition: XPtypes.hh:67
@ kXR_wantTLS
Definition: XProtocol.hh:519
@ kXR_or
Definition: XProtocol.hh:406
static char * VVecRead(char *buffer, kXR_int32 len, char *&value)
@ kXR_IOError
Definition: XProtocol.hh:930
kXR_int32 actnum
Definition: XProtocol.hh:1337
Definition: XProtocol.hh:252
kXR_unt16 expectrid
Definition: XProtocol.hh:695
kXR_unt16 requestid
Definition: XProtocol.hh:460
@ kXR_authmore
Definition: XProtocol.hh:844
@ kXR_overQuota
Definition: XProtocol.hh:944
Definition: XProtocol.hh:1238
@ kXR_chmod
Definition: XProtocol.hh:113
kXR_char fhandle[4]
Definition: XProtocol.hh:596
#define open
Definition: XrdPosix.hh:71
XSecCrypto
Definition: XProtocol.hh:676
kXR_int32 dlen
Definition: XProtocol.hh:668
kXR_char options[1]
Definition: XProtocol.hh:376
kXR_int64 offset
Definition: XProtocol.hh:484
kXR_char streamid[2]
Definition: XProtocol.hh:508
kXR_char reqindx
Definition: XProtocol.hh:1009
Definition: XProtocol.hh:171
Definition: XProtocol.hh:211
@ kXR_ExpGPFA
Definition: XProtocol.hh:529
@ kXR_REQFENCE
Definition: XProtocol.hh:143
@ kXR_mkdir
Definition: XProtocol.hh:119
kXR_char streamid[2]
Definition: XProtocol.hh:726
kXR_char substreamid
Definition: XProtocol.hh:915
Definition: XProtocol.hh:967
struct ServerResponseHeader hdr
Definition: XProtocol.hh:1152
@ kXR_offline
Definition: XProtocol.hh:1115
@ kXR_NotFile
Definition: XProtocol.hh:938
@ kXR_set
Definition: XProtocol.hh:129
@ kXR_fattr
Definition: XProtocol.hh:131
@ kXR_mknone
Definition: XProtocol.hh:369
kXR_char streamid[2]
Definition: XProtocol.hh:183
@ kXR_async
Definition: XProtocol.hh:418
@ kXR_delete
Definition: XProtocol.hh:413
kXR_char rsvd2[3]
Definition: XProtocol.hh:700
char data[4096]
Definition: XProtocol.hh:864
@ kXR_sync
Definition: XProtocol.hh:127
xfaLimits
Definition: XProtocol.hh:246
kXR_char fhandle[4]
Definition: XProtocol.hh:740
@ kNOMORESTREAMS
Definition: XProtocol.hh:1349
@ kXR_pgread
Definition: XProtocol.hh:141
kXR_char reserved[4]
Definition: XProtocol.hh:1131
kXR_char fhandle[4]
Definition: XProtocol.hh:753
kXR_char fhandle[4]
Definition: XProtocol.hh:610
@ kXR_ArgTooLong
Definition: XProtocol.hh:925
kXR_char streamid[2]
Definition: XProtocol.hh:765
Definition: XProtocol.hh:906
@ kXR_asyncgo
Definition: XProtocol.hh:879
kXR_int32 actnum
Definition: XProtocol.hh:1331
ServerResponseBody_Error error
Definition: XProtocol.hh:1186
kXR_char streamid[2]
Definition: XProtocol.hh:353
@ kGENERICERR
Definition: XProtocol.hh:1344
@ kXR_asyncav
Definition: XProtocol.hh:877
kXR_int32 dlen
Definition: XProtocol.hh:558
@ kXR_hasipv64
Definition: XProtocol.hh:328
@ kXR_gpfile
Definition: XProtocol.hh:116
kXR_int64 offset
Definition: XProtocol.hh:996
kXR_char options
Definition: XProtocol.hh:258
kXR_char body[16]
Definition: XProtocol.hh:151
Definition: XProtocol.hh:1197
@ kXR_onlyprv6
Definition: XProtocol.hh:330
static char * VVecRead(char *buffer, kXR_int32 &len)
Definition: XProtocol.hh:467
@ kXR_asyncdi
Definition: XProtocol.hh:873
@ kXR_oksofar
Definition: XProtocol.hh:842
@ kXR_asyncms
Definition: XProtocol.hh:874
kXR_unt16 requestid
Definition: XProtocol.hh:173
Definition: XProtocol.hh:958
@ kXR_lclfile
Definition: XProtocol.hh:331
kXR_int32 actnum
Definition: XProtocol.hh:1325
ExpectFlags
Definition: XProtocol.hh:522
@ kXR_PartialResult
Definition: XProtocol.hh:1142
@ kXR_noErrorYet
Definition: XProtocol.hh:955
XPrepRequestOption
Definition: XProtocol.hh:537
kXR_char streamid[2]
Definition: XProtocol.hh:212
kXR_unt16 requestid
Definition: XProtocol.hh:509
kXR_char streamID[2]
Definition: XProtocol.hh:1128
@ kXR_ServerError
Definition: XProtocol.hh:935
ServerResponseBody_Authmore authmore
Definition: XProtocol.hh:1183
ServerResponseBody_Protocol protocol
Definition: XProtocol.hh:1190
Definition: XProtocol.hh:788
kXR_char options[1]
Definition: XProtocol.hh:215
ServerResponseSVec_Protocol secvec
Definition: XProtocol.hh:1020
kXR_int32 dlen
Definition: XProtocol.hh:757
@ kXR_retstat
Definition: XProtocol.hh:423
XLoginAbility
Definition: XProtocol.hh:323
ServerResponseBody_Buffer buffer
Definition: XProtocol.hh:1185
@ kXR_query
Definition: XProtocol.hh:112
kXR_int32 rlen
Definition: XProtocol.hh:611
kXR_int32 wsec
Definition: XProtocol.hh:1326
Definition: XProtocol.hh:352
kXR_char reserved[14]
Definition: XProtocol.hh:314
Definition: XProtocol.hh:159
char host[4096]
Definition: XProtocol.hh:1101
kXR_unt16 requestid
Definition: XProtocol.hh:643
@ kXR_statx
Definition: XProtocol.hh:133
@ kXR_cancel
Definition: XProtocol.hh:538
kXR_char streamid[2]
Definition: XProtocol.hh:620
@ kXR_dirlist
Definition: XProtocol.hh:115
Definition: XProtocol.hh:1330
kXR_int64 offset
Definition: XProtocol.hh:462
kXR_unt16 requestid
Definition: XProtocol.hh:196
@ kXR_fattrDel
Definition: XProtocol.hh:237
ServerResponseBody_Login login
Definition: XProtocol.hh:1187
kXR_unt16 requestid
Definition: XProtocol.hh:552
Definition: XProtocol.hh:764
@ kXR_QPrep
Definition: XProtocol.hh:567
static const int kXR_statusBodyLen
Definition: XProtocol.hh:1148
kXR_char streamid[2]
Definition: XProtocol.hh:160
kXR_char streamid[2]
Definition: XProtocol.hh:642
kXR_unt16 mode
Definition: XProtocol.hh:186
@ kXR_stat
Definition: XProtocol.hh:128
static const int kXR_pgUnitSZ
Definition: XProtocol.hh:450
@ kXR_InvalidRequest
Definition: XProtocol.hh:929
Definition: XProtocol.hh:1178
kXR_char secver
Definition: XProtocol.hh:1016
Definition: XProtocol.hh:822
@ kXR_asyncab
Definition: XProtocol.hh:872
char chkszrsp[9-sizeof(ServerResponseHeader)]
Definition: XProtocol.hh:1198
kXR_int32 dlen
Definition: XProtocol.hh:730
@ kXR_ping
Definition: XProtocol.hh:122
kXR_int32 flags
Definition: XProtocol.hh:1085
kXR_int32 dlen
Definition: XProtocol.hh:216
static char * NVecInsert(const char *name, char *buffer)
@ kXR_ver002
Definition: XProtocol.hh:346
@ kXR_Qxattr
Definition: XProtocol.hh:569
kXR_char reserved[9]
Definition: XProtocol.hh:259
Definition: XProtocol.hh:725
kXR_char streamid[2]
Definition: XProtocol.hh:481
char respdata[4096]
Definition: XProtocol.hh:899
@ kXR_faMaxVlen
Definition: XProtocol.hh:249
kXR_int64 offset
Definition: XProtocol.hh:987
kXR_int32 dlen
Definition: XProtocol.hh:379
static char * VVecInsert(const char *value, char *buffer)
kXR_int32 seconds
Definition: XProtocol.hh:1161
XReqErrorType
Definition: XProtocol.hh:1343
@ kXR_writev
Definition: XProtocol.hh:142
Definition: XProtocol.hh:663
@ kXR_Unsupported
Definition: XProtocol.hh:936
kXR_int32 msgval
Definition: XProtocol.hh:95
kXR_unt16 requestid
Definition: XProtocol.hh:621
kXR_char streamid[2]
Definition: XProtocol.hh:580
char reserved[4]
Definition: XProtocol.hh:890
unsigned long long kXR_unt64
Definition: XPtypes.hh:99
kXR_char reserved[15]
Definition: XProtocol.hh:666
@ kXR_protocol
Definition: XProtocol.hh:117
kXR_int32 dlen
Definition: XProtocol.hh:645
@ kXR_Cancelled
Definition: XProtocol.hh:940
Definition: XProtocol.hh:1126
static char * NVecRead(char *buffer, kXR_unt16 &rc)
#define close(a)
Definition: XrdPosix.hh:43
XLoginVersion
Definition: XProtocol.hh:343
char infomsg[4096]
Definition: XProtocol.hh:1162
kXR_char streamid[2]
Definition: XProtocol.hh:459
union ServerResponse::@0 body
kXR_int32 dlen
Definition: XProtocol.hh:514
kXR_unt16 requestid
Definition: XProtocol.hh:665
@ kXR_close
Definition: XProtocol.hh:114
kXR_int32 pval
Definition: XProtocol.hh:1084
kXR_int32 actnum
Definition: XProtocol.hh:889
Definition: XProtocol.hh:1336
kXR_char streamid[2]
Definition: XProtocol.hh:751
kXR_int16 arg1len
Definition: XProtocol.hh:390
@ kXR_fattrGet
Definition: XProtocol.hh:238
kXR_char streamid[2]
Definition: XProtocol.hh:497
@ kXR_ExpTPC
Definition: XProtocol.hh:528
@ kXR_gw
Definition: XProtocol.hh:404
kXR_char secvsz
Definition: XProtocol.hh:1019
Definition: XProtocol.hh:976
kXR_char reserved[2]
Definition: XProtocol.hh:487
kXR_unt16 requestid
Definition: XProtocol.hh:595
kXR_char fhandle[4]
Definition: XProtocol.hh:631
kXR_char reserved2
Definition: XProtocol.hh:360
@ kXR_error
Definition: XProtocol.hh:845
kXR_char subcode
Definition: XProtocol.hh:256
@ kXR_FinalResult
Definition: XProtocol.hh:1141
kXR_unt16 requestid
Definition: XProtocol.hh:714
kXR_char reserved[15]
Definition: XProtocol.hh:768
kXR_char reserved[12]
Definition: XProtocol.hh:198
@ kXR_fattrSet
Definition: XProtocol.hh:240
@ kXR_dstat
Definition: XProtocol.hh:208
Definition: XProtocol.hh:1324
kXR_char reserved[8]
Definition: XProtocol.hh:301
static const int kXR_pgPageSZ
Definition: XProtocol.hh:449
ServerResponseHeader hdr
Definition: XProtocol.hh:1179
kXR_char reserved1[2]
Definition: XProtocol.hh:583
kXR_int32 dlen
Definition: XProtocol.hh:164
kXR_char fhandle[4]
Definition: XProtocol.hh:197
@ kXR_xset
Definition: XProtocol.hh:1112
kXR_int32 seconds
Definition: XProtocol.hh:1170
@ kXR_attn
Definition: XProtocol.hh:843
@ kXR_open_wrto
Definition: XProtocol.hh:429
kXR_char options
Definition: XProtocol.hh:553
@ kXR_Qopaqug
Definition: XProtocol.hh:576
@ kXR_Qcksum
Definition: XProtocol.hh:568
Definition: XProtocol.hh:310
@ kXR_1stRequest
Definition: XProtocol.hh:110
@ kXR_ux
Definition: XProtocol.hh:402
@ kXR_BadPayload
Definition: XProtocol.hh:949
kXR_char reserved[16]
Definition: XProtocol.hh:644
@ kXR_prefname
Definition: XProtocol.hh:421
Definition: XProtocol.hh:1013
@ kXR_open_apnd
Definition: XProtocol.hh:422
@ kXR_ur
Definition: XProtocol.hh:400
kXR_int64 offset
Definition: XProtocol.hh:754
@ kXR_seqio
Definition: XProtocol.hh:428
static const char * reqName(kXR_unt16 reqCode)
kXR_int32 msec
Definition: XProtocol.hh:1327
kXR_char streamid[2]
Definition: XProtocol.hh:713
kXR_int32 dlen
Definition: XProtocol.hh:187
ServerResponseBody_Attn attn
Definition: XProtocol.hh:1182
kXR_char cptype[4]
Definition: XProtocol.hh:979
@ kXR_endsess
Definition: XProtocol.hh:134
@ kXR_force
Definition: XProtocol.hh:414
Definition: XProtocol.hh:603
kXR_char reqsreq
Definition: XProtocol.hh:1010
kXR_char reserved[12]
Definition: XProtocol.hh:162
kXR_int32 dlen
Definition: XProtocol.hh:769
XResponseType
Definition: XProtocol.hh:840
#define EAUTH
Definition: XProtocol.hh:1232
XSecVersion
Definition: XProtocol.hh:688
static const int kXR_pgRetry
Definition: XProtocol.hh:455
@ kXR_ver001
Definition: XProtocol.hh:345
static int toErrno(int xerr)
Definition: XProtocol.hh:1278
kXR_int32 dlen
Definition: XProtocol.hh:488
@ kXR_wait
Definition: XProtocol.hh:847
@ kXR_online
Definition: XProtocol.hh:207
kXR_char fhandle[4]
Definition: XProtocol.hh:728
static char * NVecRead(char *buffer, char *&name)
kXR_char expect
Definition: XProtocol.hh:512
@ kXR_read
Definition: XProtocol.hh:124
ServerResponseHeader resphdr
Definition: XProtocol.hh:898
kXR_char fhandle[4]
Definition: XProtocol.hh:255
@ kXR_bind
Definition: XProtocol.hh:135
kXR_int32 port
Definition: XProtocol.hh:1332
ServerResponseReqs_Protocol secreq
Definition: XProtocol.hh:1086
@ kXR_inProgress
Definition: XProtocol.hh:943
@ kXR_ItExists
Definition: XProtocol.hh:941
Definition: XProtocol.hh:1169
#define mkdir(a, b)
Definition: XrdPosix.hh:69
kXR_char reserved[3]
Definition: XProtocol.hh:756
kXR_char sessid[16]
Definition: XProtocol.hh:174
kXR_char reserved[10]
Definition: XProtocol.hh:557
kXR_char streamid[2]
Definition: XProtocol.hh:172
@ kXR_Qspace
Definition: XProtocol.hh:570
kXR_unt16 infotype
Definition: XProtocol.hh:582
Definition: XProtocol.hh:223
@ kWRITE
Definition: XProtocol.hh:1346
kXR_int32 dlen
Definition: XProtocol.hh:315
@ kXR_fatrrMaxSC
Definition: XProtocol.hh:241
kXR_unt16 requestid
Definition: XProtocol.hh:184
ServerResponseBody_pgRead pgread
Definition: XProtocol.hh:1188
Definition: XProtocol.hh:593
@ kXR_4dirlist
Definition: XProtocol.hh:424
kXR_char modifier
Definition: XProtocol.hh:667
kXR_char fhandle[4]
Definition: XProtocol.hh:778
Definition: XProtocol.hh:507
#define read(a, b, c)
Definition: XrdPosix.hh:77
kXR_char streamid[2]
Definition: XProtocol.hh:149
kXR_int32 actnum
Definition: XProtocol.hh:896
kXR_int32 dlen
Definition: XProtocol.hh:1132
kXR_int32 msglen
Definition: XProtocol.hh:93
XStatRequestOption
Definition: XProtocol.hh:708
kXR_char reserved[15]
Definition: XProtocol.hh:214
@ kXR_locate
Definition: XProtocol.hh:138
kXR_int32 third
Definition: XProtocol.hh:85
kXR_char streamid[2]
Definition: XProtocol.hh:551
kXR_char reqflags
Definition: XProtocol.hh:486
@ kXR_ver005
Definition: XProtocol.hh:349
kXR_unt16 requestid
Definition: XProtocol.hh:388
kXR_char theTag
Definition: XProtocol.hh:1014
@ kXR_SigVerErr
Definition: XProtocol.hh:945
kXR_unt16 requestid
Definition: XProtocol.hh:739
char respdata[4096]
Definition: XProtocol.hh:892
@ kXR_coloc
Definition: XProtocol.hh:543
@ kXR_readable
Definition: XProtocol.hh:1116
kXR_char resptype
Definition: XProtocol.hh:1130
#define stat(a, b)
Definition: XrdPosix.hh:96
kXR_char reserved[15]
Definition: XProtocol.hh:622
@ kXR_redirect
Definition: XProtocol.hh:846
kXR_unt16 requestid
Definition: XProtocol.hh:752
kXR_char reserved
Definition: XProtocol.hh:357
@ kXR_ox
Definition: XProtocol.hh:408
@ kXR_mkdirpath
Definition: XProtocol.hh:370
ServerResponseBody_Redirect redirect
Definition: XProtocol.hh:1191
@ kXR_open_updt
Definition: XProtocol.hh:417
kXR_unt16 requestid
Definition: XProtocol.hh:727
@ kXR_mkpath
Definition: XProtocol.hh:420
ServerResponseBody_pgWrite pgwrite
Definition: XProtocol.hh:1189
kXR_int32 ServerResponseType
Definition: XProtocol.hh:1353
XRequestTypes
Definition: XProtocol.hh:109
kXR_int32 wlen
Definition: XProtocol.hh:779
@ kXR_uw
Definition: XProtocol.hh:401
kXR_int32 dlen
Definition: XProtocol.hh:656
kXR_char options
Definition: XProtocol.hh:715
Definition: XProtocol.hh:432
kXR_unt16 requestid
Definition: XProtocol.hh:434
kXR_unt16 requestid
Definition: XProtocol.hh:654
kXR_char fhandle[4]
Definition: XProtocol.hh:584
@ kXR_noserver
Definition: XProtocol.hh:937
kXR_char pathid
Definition: XProtocol.hh:623
kXR_char reserved[4]
Definition: XProtocol.hh:742
Definition: XProtocol.hh:182
kXR_int64 offset
Definition: XProtocol.hh:597
kXR_char streamid[2]
Definition: XProtocol.hh:738
@ kXR_poscpend
Definition: XProtocol.hh:1118
@ kXR_ArgInvalid
Definition: XProtocol.hh:923
@ kXR_TLSRequired
Definition: XProtocol.hh:951
Definition: XProtocol.hh:750
kXR_int32 actnum
Definition: XProtocol.hh:884
kXR_int32 rlen
Definition: XProtocol.hh:598
kXR_unt16 requestid
Definition: XProtocol.hh:766
kXR_int32 options
Definition: XProtocol.hh:300
kXR_int32 buffsz
Definition: XProtocol.hh:302
@ kREAD
Definition: XProtocol.hh:1345
XActionCode
Definition: XProtocol.hh:871
kXR_unt16 requestid
Definition: XProtocol.hh:498
@ kXR_ok
Definition: XProtocol.hh:841
kXR_char reserved[7]
Definition: XProtocol.hh:605
@ kXR_new
Definition: XProtocol.hh:415
XSecFlags
Definition: XProtocol.hh:683
kXR_char streamid[2]
Definition: XProtocol.hh:387
@ kXR_ow
Definition: XProtocol.hh:407
XDirlistRequestOption
Definition: XProtocol.hh:206
xfaSubCode
Definition: XProtocol.hh:236
Definition: XProtocol.hh:448
@ kXR_fsReadOnly
Definition: XProtocol.hh:948
@ kXR_FileLocked
Definition: XProtocol.hh:926
Definition: XProtocol.hh:777
Definition: XProtocol.hh:712
kXR_char sessid[16]
Definition: XProtocol.hh:226
@ kXR_ExpNone
Definition: XProtocol.hh:524
char host[4092]
Definition: XProtocol.hh:1333
@ kXR_usetcp
Definition: XProtocol.hh:545
kXR_char reserved[13]
Definition: XProtocol.hh:377
@ kXR_lcvnone
Definition: XProtocol.hh:336
@ kXR_prepare
Definition: XProtocol.hh:132
kXR_unt16 requestid
Definition: XProtocol.hh:354
@ kXR_bkpexist
Definition: XProtocol.hh:1119
kXR_int32 dlen
Definition: XProtocol.hh:701
@ kXR_NotFound
Definition: XProtocol.hh:934
kXR_unt16 requestid
Definition: XProtocol.hh:161
@ kXR_chkpoint
Definition: XProtocol.hh:123
@ kXR_FileNotOpen
Definition: XProtocol.hh:927
@ kXR_fresh
Definition: XProtocol.hh:544
kXR_int32 dlen
Definition: XProtocol.hh:500
kXR_int32 cpsize
Definition: XProtocol.hh:978
kXR_char reserved[16]
Definition: XProtocol.hh:499
kXR_char ability
Definition: XProtocol.hh:358
kXR_unt16 options
Definition: XProtocol.hh:313
@ kXR_notify
Definition: XProtocol.hh:539
@ kXR_replica
Definition: XProtocol.hh:425
@ kXR_noerrs
Definition: XProtocol.hh:540
@ kXR_pgwrite
Definition: XProtocol.hh:137
@ kXR_asyncrd
Definition: XProtocol.hh:875
ServerResponseBody_Wait wait
Definition: XProtocol.hh:1192
Definition: XProtocol.hh:888
kXR_char numattr
Definition: XProtocol.hh:257
kXR_char version
Definition: XProtocol.hh:696
kXR_unt16 requestid
Definition: XProtocol.hh:375
kXR_int32 second
Definition: XProtocol.hh:84
@ kXR_asynunav
Definition: XProtocol.hh:878
Definition: XProtocol.hh:1099
XStatRespFlags
Definition: XProtocol.hh:1110
@ kXR_HashMask
Definition: XProtocol.hh:678
kXR_int32 pid
Definition: XProtocol.hh:355
@ kXR_compress
Definition: XProtocol.hh:412
kXR_char reserved[16]
Definition: XProtocol.hh:655