Status Codes(3) All of the functions in the API that return status return it in a globus_result_t structure.

Defines


#define GLOBUS_RLS_SUCCESS 0

#define GLOBUS_RLS_GLOBUSERR 1

#define GLOBUS_RLS_INVHANDLE 2

#define GLOBUS_RLS_BADURL 3

#define GLOBUS_RLS_NOMEMORY 4

#define GLOBUS_RLS_OVERFLOW 5

#define GLOBUS_RLS_BADARG 6

#define GLOBUS_RLS_PERM 7

#define GLOBUS_RLS_BADMETHOD 8

#define GLOBUS_RLS_INVSERVER 9

#define GLOBUS_RLS_MAPPING_NEXIST 10

#define GLOBUS_RLS_LFN_EXIST 11

#define GLOBUS_RLS_LFN_NEXIST 12

#define GLOBUS_RLS_PFN_EXIST 13

#define GLOBUS_RLS_PFN_NEXIST 14

#define GLOBUS_RLS_LRC_EXIST 15

#define GLOBUS_RLS_LRC_NEXIST 16

#define GLOBUS_RLS_DBERROR 17

#define GLOBUS_RLS_RLI_EXIST 18

#define GLOBUS_RLS_RLI_NEXIST 19

#define GLOBUS_RLS_MAPPING_EXIST 20

#define GLOBUS_RLS_INV_ATTR_TYPE 21

#define GLOBUS_RLS_ATTR_EXIST 22

#define GLOBUS_RLS_ATTR_NEXIST 23

#define GLOBUS_RLS_INV_OBJ_TYPE 24

#define GLOBUS_RLS_INV_ATTR_OP 25

#define GLOBUS_RLS_UNSUPPORTED 26

#define GLOBUS_RLS_TIMEOUT 27

#define GLOBUS_RLS_TOO_MANY_CONNECTIONS 28

#define GLOBUS_RLS_ATTR_VALUE_NEXIST 29

#define GLOBUS_RLS_ATTR_INUSE 30

Detailed Description

All of the functions in the API that return status return it in a globus_result_t structure.

Prior to version 2.0.0 an integer status was returned. The globus_result_t structure includes an integer 'type' which is set to one of the status codes defined below (the same values that were returned by earlier versions of the API). The function globus_rls_client_error_info() may be used to extract the status code and/or error message from a globus_result_t. GLOBUS_SUCCESS is returned when the operation was successful.

Define Documentation

#define GLOBUS_RLS_SUCCESS 0

Operation succeeded.

#define GLOBUS_RLS_GLOBUSERR 1

An error was returned by the Globus I/O module.

#define GLOBUS_RLS_INVHANDLE 2

The globus_rls_handle_t handle is invalid.

#define GLOBUS_RLS_BADURL 3

The URL could not be parsed.

#define GLOBUS_RLS_NOMEMORY 4

Out of memory.

#define GLOBUS_RLS_OVERFLOW 5

A result was too large to fit in buffer.

#define GLOBUS_RLS_BADARG 6

Bad argument (eg NULL where string pointer expected).

#define GLOBUS_RLS_PERM 7

Client does not have permission for requested action.

#define GLOBUS_RLS_BADMETHOD 8

RPC error, invalid method name sent to server.

#define GLOBUS_RLS_INVSERVER 9

LRC request made to RLI server or vice versa.

#define GLOBUS_RLS_MAPPING_NEXIST 10

LFN,PFN (LRC) or LFN,LRC (RLI) mapping doesn't exist.

#define GLOBUS_RLS_LFN_EXIST 11

LFN already exists in LRC or RLI database.

#define GLOBUS_RLS_LFN_NEXIST 12

LFN doesn't exist in LRC or RLI database.

#define GLOBUS_RLS_PFN_EXIST 13

PFN already exists in LRC database.

#define GLOBUS_RLS_PFN_NEXIST 14

PFN doesn't exist in LRC database.

#define GLOBUS_RLS_LRC_EXIST 15

LRC already exists in LRC or RLI database.

#define GLOBUS_RLS_LRC_NEXIST 16

LRC doesn't exist in RLI database.

#define GLOBUS_RLS_DBERROR 17

Database error.

#define GLOBUS_RLS_RLI_EXIST 18

RLI already exists in LRC database.

#define GLOBUS_RLS_RLI_NEXIST 19

RLI doesn't exist in LRC.

#define GLOBUS_RLS_MAPPING_EXIST 20

LFN,PFN (LRC) or LFN,LRC (RLI) mapping already exists.

#define GLOBUS_RLS_INV_ATTR_TYPE 21

Invalid attribute type, see globus_rls_attr_type_t.

#define GLOBUS_RLS_ATTR_EXIST 22

Attribute already exists.

#define GLOBUS_RLS_ATTR_NEXIST 23

Attribute doesn't exist.

#define GLOBUS_RLS_INV_OBJ_TYPE 24

Invalid object type, see globus_rls_obj_type_t.

#define GLOBUS_RLS_INV_ATTR_OP 25

Invalid attribute search operator, see globus_rls_attr_op_t.

#define GLOBUS_RLS_UNSUPPORTED 26

Operation is unsupported.

#define GLOBUS_RLS_TIMEOUT 27

IO timeout.

#define GLOBUS_RLS_TOO_MANY_CONNECTIONS 28

Too many connections.

#define GLOBUS_RLS_ATTR_VALUE_NEXIST 29

Attribute with specified value not found.

#define GLOBUS_RLS_ATTR_INUSE 30

Attribute in use by some object, can't be deleted.

Author

Generated automatically by Doxygen for globus rls client from the source code.