(c7c948d8b)
#include <setjmp.h>
#include <stddef.h>
#include <stdarg.h>
#include <dpkg/macros.h>
Go to the source code of this file.
|
void | print_fatal_error (const char *emsg, const void *data) |
|
void | catch_fatal_error (void) |
| Default fatal error handler.
|
|
void | push_error_context_jump (jmp_buf *jumper, error_printer_func *printer, const void *printer_data) |
|
void | push_error_context_func (error_handler_func *handler, error_printer_func *printer, const void *printer_data) |
|
void | push_error_context (void) |
|
void | pop_error_context (int flagset) |
| Unwind the current error context by running its registered cleanups.
|
|
void | push_cleanup_fallback (void(*f1)(int argc, void **argv), int flagmask1, void(*f2)(int argc, void **argv), int flagmask2, unsigned int nargs,...) |
|
void | push_cleanup (void(*call)(int argc, void **argv), int flagmask, unsigned int nargs,...) |
|
void | push_checkpoint (int mask, int value) |
| Push an error cleanup checkpoint.
|
|
void | pop_cleanup (int flagset) |
|
void | ohshitv (const char *fmt, va_list args) DPKG_ATTR_NORET DPKG_ATTR_VPRINTF(1) |
|
void | ohshit (const char *fmt,...) DPKG_ATTR_NORET DPKG_ATTR_PRINTF(1) |
|
void | ohshite (const char *fmt,...) DPKG_ATTR_NORET DPKG_ATTR_PRINTF(1) |
|
void | do_internerr (const char *file, int line, const char *func, const char *fmt,...) DPKG_ATTR_NORET DPKG_ATTR_PRINTF(4) |
|