Grid Community Toolkit
6.2.1541705016
|
Authorization Callout Error Objects. More...
Macros | |
#define | GLOBUS_GSI_AUTHZ_CALLOUT_ERROR_MODULE (&globus_gsi_authz_callout_error_module) |
Module descriptor. | |
#define | GLOBUS_GSI_AUTHZ_CALLOUT_ERROR(__RESULT, __TYPE, __ERRSTR) |
Create an authorization callout error object. More... | |
#define | GLOBUS_GSI_AUTHZ_CALLOUT_ERRNO_ERROR(__RESULT, __ERRNO) |
Create an authorization callout error object with an errno. More... | |
Authorization Callout Error Objects.
The GSI Authorization Callout Error API defines a set of Globus error codes which are used by the error objects generated by the GSI Authorization API. Applications or libraries that wish to use this interface must include the globus_gsi_authz_callout_error.h header.
#define GLOBUS_GSI_AUTHZ_CALLOUT_ERRNO_ERROR | ( | __RESULT, | |
__ERRNO | |||
) |
Create an authorization callout error object with an errno.
Update the __RESULT parameter to contain a new globus_result_t value pointing to an authorization error with the errno.
__RESULT | A globus_result_t value pointing to a causal error. This will be modified by this macro to point to the new error object. |
__ERRNO | The errno value of this new error object. |
#define GLOBUS_GSI_AUTHZ_CALLOUT_ERROR | ( | __RESULT, | |
__TYPE, | |||
__ERRSTR | |||
) |
Create an authorization callout error object.
Update the __RESULT parameter to contain a new globus_result_t value pointing to an authorization error of type __TYPE with the detail string __ERRSTR.
__RESULT | A globus_result_t value pointing to a causal error. This will be modified by this macro to point to the new error object. |
__TYPE | The authorization error value from the globus_gsi_authz_callout_error_t enumeration. |
__ERRSTR | A parenthesized printf string containing the description of the error |
Error codes.
Error code types used by the GSI Authorization Callout API