#include <openpgpsdk/errors.h>
#include <openpgpsdk/util.h>
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <openpgpsdk/packet-show.h>
#include <openpgpsdk/final.h>
Defines | |
| #define | ERRNAME(code) { code, #code } |
Functions | |
| char * | ops_errcode (const ops_errcode_t errcode) |
| returns error code name | |
| void | ops_push_error (ops_error_t **errstack, ops_errcode_t errcode, int sys_errno, const char *file, int line, const char *fmt,...) |
| Pushes the given error on the given errorstack. | |
| void | ops_print_error (ops_error_t *err) |
| print this error | |
| void | ops_print_errors (ops_error_t *errstack) |
| Print all errors on stack. | |
| int | ops_has_error (ops_error_t *errstack, ops_errcode_t errcode) |
| Return true if given error is present anywhere on stack. | |
| void | ops_free_errors (ops_error_t *errstack) |
| Frees all errors on stack. | |
| void | ops_move_errors (ops_create_info_t *source, ops_error_t **dest) |
| Moves errors from a create info structure to another error stack. | |
1.4.6