PQLR
Postquantum Crypto Library by QAPP
|
Go to the source code of this file.
Data Structures | |
struct | pqlr_error_handler_callback |
Pqlr user's error handler callback interface. More... | |
Typedefs | |
typedef void(* | pqlr_error_handler_fnc) (int err_no, const char *msg, void *ctx) |
Type definition for error handling function. Place to free user defined resources before termination. More... | |
typedef struct pqlr_error_handler_callback | pqlr_error_handler_callback_t |
Pqlr user's error handler callback interface. More... | |
Functions | |
PQLR_API void | pqlr_set_error_handler (pqlr_t pqlr, pqlr_error_handler_callback_t *error_handler) |
Allows to specify custom fatal error handler for pqlr instance. Please, note that any change in the global PQLR configuration does not affect previously created algorithms. More... | |
PQLR_API void | pqlr_get_error_handler (const pqlr_t pqlr, pqlr_error_handler_callback_t *error_handler) |
Obtains custom error handler specified by pqlr_set_error_handler(). More... | |
PQLR_API void | pqlr_default_error_handler (int err_no, const char *msg, void *ctx) |
Default pqlr fatal error handler. Prints error string to stderr. More... | |