#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <isc/error.h>
#include <isc/msgs.h>
Go to the source code of this file.
Functions | |
static void | default_unexpected_callback (static voiddefault_fatal_callback(const char const char *, static voiddefault_fatal_callback(const char int, static voiddefault_fatal_callback(const char const char *, va_list) |
Default unexpected callback. | |
void | isc_error_setfatal (isc_errorcallback_t cb) |
set fatal error | |
void | isc_error_unexpected (const char *file, int line, const char *format,...) |
void | isc_error_fatal (const char *file, int line, const char *format,...) |
void | isc_error_runtimecheck (const char *file, int line, const char *expression) |
runtimecheck error | |
static void | default_unexpected_callback (const char *file, int line, const char *format, va_list args) |
static void | default_fatal_callback (const char *file, int line, const char *format, va_list args) |
Definition in file error.c.
static void default_unexpected_callback | ( | static voiddefault_fatal_callback(const char | const char *, | |
static voiddefault_fatal_callback(const char | int, | |||
static voiddefault_fatal_callback(const char | const char *, | |||
va_list | ||||
) | [static] |
void isc_error_setfatal | ( | isc_errorcallback_t | cb | ) |
set fatal error
Definition at line 53 of file error.c.
References default_fatal_callback().
Referenced by library_fatal_error(), and main().
void isc_error_unexpected | ( | const char * | file, | |
int | line, | |||
const char * | format, | |||
... | ||||
) |
void isc_error_fatal | ( | const char * | file, | |
int | line, | |||
const char * | format, | |||
... | ||||
) |
Definition at line 70 of file error.c.
Referenced by isc_error_runtimecheck(), and pk11_error_fatalcheck().
void isc_error_runtimecheck | ( | const char * | file, | |
int | line, | |||
const char * | expression | |||
) |
runtimecheck error
Definition at line 80 of file error.c.
References isc_error_fatal(), ISC_MSG_FAILED, isc_msgcat_get(), and ISC_MSGSET_GENERAL.
static void default_unexpected_callback | ( | const char * | file, | |
int | line, | |||
const char * | format, | |||
va_list | args | |||
) | [static] |
static void default_fatal_callback | ( | const char * | file, | |
int | line, | |||
const char * | format, | |||
va_list | args | |||
) | [static] |
Definition at line 97 of file error.c.
References ISC_MSG_FATALERROR, isc_msgcat_get(), and ISC_MSGSET_GENERAL.
Referenced by isc_error_setfatal().