|
enum | CmsReqCode {
kYR_login = 0
, kYR_chmod = 1
, kYR_locate = 2
, kYR_mkdir = 3
,
kYR_mkpath = 4
, kYR_mv = 5
, kYR_prepadd = 6
, kYR_prepdel = 7
,
kYR_rm = 8
, kYR_rmdir = 9
, kYR_select = 10
, kYR_stats = 11
,
kYR_avail = 12
, kYR_disc = 13
, kYR_gone = 14
, kYR_have = 15
,
kYR_load = 16
, kYR_ping = 17
, kYR_pong = 18
, kYR_space = 19
,
kYR_state = 20
, kYR_statfs = 21
, kYR_status = 22
, kYR_trunc = 23
,
kYR_try = 24
, kYR_update = 25
, kYR_usage = 26
, kYR_xauth = 27
,
kYR_MaxReq
} |
|
enum | CmsFwdModifier { kYR_hopcount = 0xc0
, kYR_hopincr = 0x40
} |
|
enum | CmsReqModifier { kYR_raw = 0x20
, kYR_dnf = 0x10
} |
|
enum | CmsRspCode {
kYR_data = 0
, kYR_error = 1
, kYR_redirect = 2
, kYR_wait = 3
,
kYR_waitresp = 4
, kYR_yauth = 5
} |
|
enum | YErrorCode {
kYR_ENOENT = 1
, kYR_EPERM
, kYR_EACCES
, kYR_EINVAL
,
kYR_EIO
, kYR_ENOMEM
, kYR_ENOSPC
, kYR_ENAMETOOLONG
,
kYR_ENETUNREACH
, kYR_ENOTBLK
, kYR_EISDIR
, kYR_FSError
,
kYR_SrvError
, kYR_RWConflict
, kYR_noReplicas
} |
|
enum | { IsProxy = 1
, IsRedir = 2
, IsTarget = 4
, IsMeta = 8
} |
|
The following instantiation mode flags are passed to the instantiator (see comments that follow). They may be or'd together, depending on which mode the cms client should operate. They are defined as follows:
extern "C" XrdCmsClient *XrdCmsGetClient(XrdSysLogger *Logger, int opMode, int myPort XrdOss *theSS); Obtain an instance of a default unconfigured XrdCmsClient.
The following function may be called to obtain an instance of the default XrdCmsClient object. The Configure() method is not called before the object is returned. The parameters are the same as those for the function XrdCmsGetClient(), above. Note that you need not supply a pointer to the underlying storage system, as this is historic in nature.
- Returns
- Success: a pointer to the appropriate object (IsRedir or IsTarget).
Failure: a null pointer, neither ISRedir nor IsTarget has been
specified or there is insufficient memory.