17 #ifndef GLOBUS_INCLUDE_OPENSSL_ERROR_H
18 #define GLOBUS_INCLUDE_OPENSSL_ERROR_H
24 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
53 #include "openssl/err.h"
94 #define GLOBUS_GSI_OPENSSL_ERROR_MODULE (&globus_i_gsi_openssl_error_module)
104 #define GLOBUS_ERROR_TYPE_OPENSSL \
105 (&GLOBUS_ERROR_TYPE_OPENSSL_DEFINITION)
107 extern const globus_object_type_t GLOBUS_ERROR_TYPE_OPENSSL_DEFINITION;
109 #define _GOESL(s) globus_common_i18n_get_string(\
110 GLOBUS_GSI_OPENSSL_ERROR_MODULE, \
124 typedef struct globus_l_openssl_error_handle_s *
125 globus_openssl_error_handle_t;
129 globus_openssl_error_handle_t error_code);
133 globus_openssl_error_handle_t handle);
137 globus_openssl_error_handle_t handle);
141 globus_openssl_error_handle_t handle);
145 globus_openssl_error_handle_t handle);
149 globus_openssl_error_handle_t handle);
153 globus_openssl_error_handle_t handle);
157 globus_openssl_error_handle_t handle);
163 globus_object_t * base_cause);
167 globus_object_t * error,
169 globus_object_t * base_cause,
170 globus_openssl_error_handle_t openssl_error_handle);
187 const char * source_file,
188 const char * source_func,
195 globus_object_t * error,
196 unsigned long library,
197 unsigned long function,
198 unsigned long reason);
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);
226 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:947
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 handle)
Definition: globus_error_openssl.c:144
Module Descriptor.
Definition: globus_module.h:71