22 #ifndef GLOBUS_ERROR_ERRNO_H
23 #define GLOBUS_ERROR_ERRNO_H
43 #include "globus_object.h"
66 #define GLOBUS_ERROR_TYPE_ERRNO (&GLOBUS_ERROR_TYPE_ERRNO_DEFINITION)
68 extern const globus_object_type_t GLOBUS_ERROR_TYPE_ERRNO_DEFINITION;
75 globus_object_t * base_cause,
76 const int system_errno);
80 globus_object_t * error,
82 globus_object_t * base_cause,
83 const int system_errno);
102 globus_object_t * error);
106 globus_object_t * error,
107 const int system_errno);
126 globus_object_t * error,
132 globus_object_t * error);
139 const char * source_file,
140 const char * source_func,
142 const char * short_desc_format,
globus_object_t * globus_error_wrap_errno_error(globus_module_descriptor_t *base_source, int system_errno, int type, const char *source_file, const char *source_func, int source_line, const char *short_desc_format,...)
Definition: globus_error_errno.c:321
void globus_error_errno_set_errno(globus_object_t *error, const int system_errno)
Definition: globus_error_errno.c:164
int globus_error_errno_search(globus_object_t *error)
Search for an errno value in an error chain.
Definition: globus_error_errno.c:262
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
Reference Counting Module Activation and Deactivation.
globus_object_t * globus_error_construct_errno_error(globus_module_descriptor_t *base_source, globus_object_t *base_cause, const int system_errno)
Definition: globus_error_errno.c:55
globus_bool_t globus_error_errno_match(globus_object_t *error, globus_module_descriptor_t *module, int system_errno)
Definition: globus_error_errno.c:202
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)
Definition: globus_error_errno.c:102
int globus_error_errno_get_errno(globus_object_t *error)
Definition: globus_error_errno.c:136
Module Descriptor.
Definition: globus_module.h:71