Grid Community Toolkit  6.2.1541705016
Macros | Functions
Error Construction

Macros

#define GLOBUS_ERROR_TYPE_GSSAPI
 

Functions

globus_object_t * globus_error_construct_gssapi_error (globus_module_descriptor_t *base_source, globus_object_t *base_cause, const OM_uint32 major_status, const OM_uint32 minor_status)
 Construct Error. More...
 
globus_object_t * globus_error_initialize_gssapi_error (globus_object_t *error, globus_module_descriptor_t *base_source, globus_object_t *base_cause, const OM_uint32 major_status, const OM_uint32 minor_status)
 Initialize Error. More...
 

Detailed Description

Create and initialize a Globus GSSAPI Error object.

This section defines operations to create and initialize Globus GSSAPI Error objects.

Macro Definition Documentation

◆ GLOBUS_ERROR_TYPE_GSSAPI

#define GLOBUS_ERROR_TYPE_GSSAPI

Error type definition

Function Documentation

◆ globus_error_construct_gssapi_error()

globus_object_t* globus_error_construct_gssapi_error ( globus_module_descriptor_t base_source,
globus_object_t *  base_cause,
const OM_uint32  major_status,
const OM_uint32  minor_status 
)

Construct Error.

Allocate and initialize an error of type GLOBUS_ERROR_TYPE_GSSAPI

Parameters
base_sourcePointer to the originating module.
base_causeThe error object causing the error. If this is the original error, this parameter may be NULL.
major_statusThe GSSAPI major status
minor_statusThe GSSAPI minor status
Returns
The resulting error object. It is the user's responsibility to eventually free this object using globus_object_free(). A globus_result_t may be obtained by calling globus_error_put() on this object.

◆ globus_error_initialize_gssapi_error()

globus_object_t* globus_error_initialize_gssapi_error ( globus_object_t *  error,
globus_module_descriptor_t base_source,
globus_object_t *  base_cause,
const OM_uint32  major_status,
const OM_uint32  minor_status 
)

Initialize Error.

Initialize a previously allocated error of type GLOBUS_ERROR_TYPE_GSSAPI

Parameters
errorThe previously allocated error object.
base_sourcePointer to the originating module.
base_causeThe error object causing the error. If this is the original error this parameter may be NULL.
major_statusThe GSSAPI major status
minor_statusThe GSSAPI minor status
Returns
The resulting error object. You may have to call globus_error_put() on this object before passing it on.