Create and initialize a Globus Errno Error object. More...
|
Create and initialize a Globus Errno Error object.
This section defines operations to create and initialize Globus Errno Error objects.
| #define GLOBUS_ERROR_TYPE_ERRNO |
Error type definition.
| globus_object_t* globus_error_construct_errno_error | ( | globus_module_descriptor_t * | base_source, |
| globus_object_t * | base_cause, | ||
| const int | system_errno | ||
| ) |
Allocate and initialize an error of type GLOBUS_ERROR_TYPE_ERRNO.
| base_source | Pointer to the originating module. |
| base_cause | The error object causing the error. If this is the original error, this paramater may be NULL. |
| system_errno | The system errno. |
| globus_object_t* globus_error_initialize_errno_error | ( | globus_object_t * | error, |
| globus_module_descriptor_t * | base_source, | ||
| globus_object_t * | base_cause, | ||
| const int | system_errno | ||
| ) |
Initialize a previously allocated error of type GLOBUS_ERROR_TYPE_ERRNO.
| error | The previously allocated error object. |
| base_source | Pointer to the originating module. |
| base_cause | The error object causing the error. If this is the original error this paramater may be NULL. |
| system_errno | The system errno. |