17 #ifndef GLOBUS_INCLUDE_OPENSSL_ERROR_H 18 #define GLOBUS_INCLUDE_OPENSSL_ERROR_H 24 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET 52 #include "openssl/err.h" 92 #define GLOBUS_GSI_OPENSSL_ERROR_MODULE (&globus_i_gsi_openssl_error_module) 102 #define GLOBUS_ERROR_TYPE_OPENSSL \ 103 (&GLOBUS_ERROR_TYPE_OPENSSL_DEFINITION) 105 extern const globus_object_type_t GLOBUS_ERROR_TYPE_OPENSSL_DEFINITION;
107 #define _GOESL(s) globus_common_i18n_get_string(\ 108 GLOBUS_GSI_OPENSSL_ERROR_MODULE, \ 121 typedef struct globus_l_openssl_error_handle_s *
122 globus_openssl_error_handle_t;
126 globus_openssl_error_handle_t error_code);
130 globus_openssl_error_handle_t handle);
134 globus_openssl_error_handle_t handle);
138 globus_openssl_error_handle_t handle);
142 globus_openssl_error_handle_t handle);
146 globus_openssl_error_handle_t handle);
150 globus_openssl_error_handle_t handle);
154 globus_openssl_error_handle_t handle);
160 globus_object_t * base_cause);
164 globus_object_t * error,
166 globus_object_t * base_cause,
167 globus_openssl_error_handle_t openssl_error_handle);
183 const char * source_file,
184 const char * source_func,
191 globus_object_t * error,
192 unsigned long library,
193 unsigned long function,
194 unsigned long reason);
198 globus_object_t * error);
202 globus_object_t * error);
206 globus_object_t * error);
210 globus_object_t * error);
214 globus_object_t * error);
218 globus_object_t * error);
222 globus_object_t * error);
const char * globus_error_openssl_error_get_reason(globus_object_t *error)
Definition: globus_error_openssl.c:717
int globus_openssl_error_handle_get_linenumber(globus_openssl_error_handle_t handle)
Definition: globus_error_openssl.c:276
const char * globus_error_openssl_error_get_data(globus_object_t *error)
Definition: globus_error_openssl.c:763
const char * globus_openssl_error_handle_get_filename(globus_openssl_error_handle_t handle)
Definition: globus_error_openssl.c:242
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
int globus_error_openssl_error_get_data_flags(globus_object_t *error)
Definition: globus_error_openssl.c:809
const char * globus_openssl_error_handle_get_reason(globus_openssl_error_handle_t handle)
Definition: globus_error_openssl.c:379
const char * globus_error_openssl_error_get_function(globus_object_t *error)
Definition: globus_error_openssl.c:671
const char * globus_openssl_error_handle_get_data(globus_openssl_error_handle_t handle)
Definition: globus_error_openssl.c:176
globus_object_t * globus_error_initialize_openssl_error(globus_object_t *error, globus_module_descriptor_t *base_source, globus_object_t *base_cause, globus_openssl_error_handle_t openssl_error_handle)
Definition: globus_error_openssl.c:503
const char * globus_error_openssl_error_get_filename(globus_object_t *error)
Definition: globus_error_openssl.c:532
int globus_error_openssl_error_get_linenumber(globus_object_t *error)
Definition: globus_error_openssl.c:579
const char * globus_openssl_error_handle_get_function(globus_openssl_error_handle_t handle)
Definition: globus_error_openssl.c:345
globus_object_t * globus_error_wrap_openssl_error(globus_module_descriptor_t *base_source, int error_type, const char *source_file, const char *source_func, int source_line, const char *format,...)
Definition: globus_error_openssl.c:944
const char * globus_error_openssl_error_get_library(globus_object_t *error)
Definition: globus_error_openssl.c:625
const char * globus_openssl_error_handle_get_library(globus_openssl_error_handle_t handle)
Definition: globus_error_openssl.c:310
globus_object_t * globus_error_construct_openssl_error(globus_module_descriptor_t *base_source, globus_object_t *base_cause)
Definition: globus_error_openssl.c:433
Headers common to all of Globus.
globus_bool_t globus_error_match_openssl_error(globus_object_t *error, unsigned long library, unsigned long function, unsigned long reason)
Definition: globus_error_openssl.c:867
int globus_openssl_error_handle_get_data_flags(globus_openssl_error_handle_t handle)
Definition: globus_error_openssl.c:208
unsigned long globus_openssl_error_handle_get_error_code(globus_openssl_error_handle_t error_code)
Definition: globus_error_openssl.c:144
Module Descriptor.
Definition: globus_module.h:69