#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include "cryptlib.h"
#include <openssl/lhash.h>
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include <openssl/bio.h>
#include <openssl/err.h>
Go to the source code of this file.
|
| DECLARE_LHASH_OF (ERR_STRING_DATA) |
|
| DECLARE_LHASH_OF (ERR_STATE) |
|
const ERR_FNS * | ERR_get_implementation (void) |
|
int | ERR_set_implementation (const ERR_FNS *fns) |
|
void | ERR_load_ERR_strings (void) |
|
void | ERR_load_strings (int lib, ERR_STRING_DATA *str) |
|
void | ERR_unload_strings (int lib, ERR_STRING_DATA *str) |
|
void | ERR_free_strings (void) |
|
void | ERR_put_error (int lib, int func, int reason, const char *file, int line) |
|
void | ERR_clear_error (void) |
|
unsigned long | ERR_get_error (void) |
|
unsigned long | ERR_get_error_line (const char **file, int *line) |
|
unsigned long | ERR_get_error_line_data (const char **file, int *line, const char **data, int *flags) |
|
unsigned long | ERR_peek_error (void) |
|
unsigned long | ERR_peek_error_line (const char **file, int *line) |
|
unsigned long | ERR_peek_error_line_data (const char **file, int *line, const char **data, int *flags) |
|
unsigned long | ERR_peek_last_error (void) |
|
unsigned long | ERR_peek_last_error_line (const char **file, int *line) |
|
unsigned long | ERR_peek_last_error_line_data (const char **file, int *line, const char **data, int *flags) |
|
void | ERR_error_string_n (unsigned long e, char *buf, size_t len) |
|
char * | ERR_error_string (unsigned long e, char *ret) |
|
| LHASH_OF (ERR_STATE) |
|
void | ERR_release_err_state_table (LHASH_OF(ERR_STATE)**hash) |
|
const char * | ERR_lib_error_string (unsigned long e) |
|
const char * | ERR_func_error_string (unsigned long e) |
|
const char * | ERR_reason_error_string (unsigned long e) |
|
void | ERR_remove_thread_state (const CRYPTO_THREADID *id) |
|
void | ERR_remove_state (unsigned long pid) |
|
ERR_STATE * | ERR_get_state (void) |
|
int | ERR_get_next_error_library (void) |
|
void | ERR_set_error_data (char *data, int flags) |
|
void | ERR_add_error_data (int num,...) |
|
void | ERR_add_error_vdata (int num, va_list args) |
|
int | ERR_set_mark (void) |
|
int | ERR_pop_to_mark (void) |
|
#define err_clear |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value:
Definition at line 635 of file err.c.
#define err_clear_data |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value:do { \
if (((
p)->err_data[i] != NULL) && \
{ \
OPENSSL_free((
p)->err_data[i]); \
} \
(
p)->err_data_flags[i]=0; \
} while(0)
Definition at line 624 of file err.c.
#define ERRFN |
( |
|
a | ) |
err_fns->cb_##a |
#define LEN_SYS_STR_REASON 32 |
#define NUM_SYS_STR_REASONS 127 |
void ERR_add_error_data |
( |
int |
num, |
|
|
|
... |
|
) |
| |
void ERR_add_error_vdata |
( |
int |
num, |
|
|
va_list |
args |
|
) |
| |
char* ERR_error_string |
( |
unsigned long |
e, |
|
|
char * |
ret |
|
) |
| |
void ERR_error_string_n |
( |
unsigned long |
e, |
|
|
char * |
buf, |
|
|
size_t |
len |
|
) |
| |
const char* ERR_func_error_string |
( |
unsigned long |
e | ) |
|
unsigned long ERR_get_error |
( |
void |
| ) |
|
unsigned long ERR_get_error_line |
( |
const char ** |
file, |
|
|
int * |
line |
|
) |
| |
unsigned long ERR_get_error_line_data |
( |
const char ** |
file, |
|
|
int * |
line, |
|
|
const char ** |
data, |
|
|
int * |
flags |
|
) |
| |
int ERR_get_next_error_library |
( |
void |
| ) |
|
const char* ERR_lib_error_string |
( |
unsigned long |
e | ) |
|
unsigned long ERR_peek_error |
( |
void |
| ) |
|
unsigned long ERR_peek_error_line |
( |
const char ** |
file, |
|
|
int * |
line |
|
) |
| |
unsigned long ERR_peek_error_line_data |
( |
const char ** |
file, |
|
|
int * |
line, |
|
|
const char ** |
data, |
|
|
int * |
flags |
|
) |
| |
unsigned long ERR_peek_last_error |
( |
void |
| ) |
|
unsigned long ERR_peek_last_error_line |
( |
const char ** |
file, |
|
|
int * |
line |
|
) |
| |
unsigned long ERR_peek_last_error_line_data |
( |
const char ** |
file, |
|
|
int * |
line, |
|
|
const char ** |
data, |
|
|
int * |
flags |
|
) |
| |
int ERR_pop_to_mark |
( |
void |
| ) |
|
void ERR_put_error |
( |
int |
lib, |
|
|
int |
func, |
|
|
int |
reason, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
const char* ERR_reason_error_string |
( |
unsigned long |
e | ) |
|
void ERR_remove_state |
( |
unsigned long |
pid | ) |
|
void ERR_set_error_data |
( |
char * |
data, |
|
|
int |
flags |
|
) |
| |
int ERR_set_implementation |
( |
const ERR_FNS * |
fns | ) |
|
int ERR_set_mark |
( |
void |
| ) |
|