22 #ifndef GLOBUS_ERROR_H 23 #define GLOBUS_ERROR_H 26 #include "globus_object.h" 31 typedef uint_least32_t globus_uint_t;
46 extern globus_object_t *
47 globus_error_initialize_base (
48 globus_object_t * error,
50 globus_object_t * causal_error);
52 extern globus_object_t *
53 globus_error_construct_base (
55 globus_object_t * causal_error);
57 #define globus_error_type_static_initializer(parent_type, \ 61 globus_object_type_static_initializer ((parent_type), \ 64 ((void *) string_func)) 72 extern const globus_object_type_t GLOBUS_ERROR_TYPE_BASE_DEFINITION;
73 #define GLOBUS_ERROR_TYPE_BASE (&GLOBUS_ERROR_TYPE_BASE_DEFINITION) 80 extern globus_object_t GLOBUS_ERROR_BASE_STATIC_PROTOTYPE;
81 #define GLOBUS_ERROR_BASE_PROTOTYPE (&GLOBUS_ERROR_BASE_STATIC_PROTOTYPE) 83 #define GLOBUS_ERROR_NO_INFO GLOBUS_ERROR_BASE_PROTOTYPE 89 extern globus_object_t *
95 extern globus_object_t *
106 globus_object_t * error);
114 globus_error_base_get_source (
115 globus_object_t * error);
118 globus_error_base_set_source (
119 globus_object_t * error,
122 extern globus_object_t *
123 globus_error_base_get_cause (
124 globus_object_t * error);
127 globus_error_base_set_cause (
128 globus_object_t * error,
129 globus_object_t * causal_error);
143 #define GLOBUS_ERROR_MODULE (&globus_i_error_module) Globus Threading Abstraction.
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
Reference Counting Module Activation and Deactivation.
Thread-specific data key.
Definition: globus_thread.h:201
uint32_t globus_result_t
Definition: globus_types.h:99
Module Descriptor.
Definition: globus_module.h:69