#include <config.h>
#include <stdarg.h>
#include <openssl/err.h>
#include <errno.h>
Go to the source code of this file.
Defines | |
| #define | ERROR_BUFFER_SIZE 512 |
| Default error message buffer size. | |
| #define | ERROR_EXTERN extern |
Functions | |
| ERROR_EXTERN void | set_error (const char *format,...) |
| store an error message into a temporary buffer, in a similar way as sprintf does | |
| ERROR_EXTERN const char * | get_error (void) |
| Retrieve error message string from buffer. | |
| #define ERROR_BUFFER_SIZE 512 |
| ERROR_EXTERN const char* get_error | ( | void | ) |
Retrieve error message string from buffer.
| ERROR_EXTERN void set_error | ( | const char * | format, | |
| ... | ||||
| ) |
store an error message into a temporary buffer, in a similar way as sprintf does
| format | String to be stored | |
| ... | Additional parameters |
1.5.1