#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <unistd.h>#include <atalk/logger.h>Macros | |
| #define | SIGNAL_CAST (void (*)(int)) |
| #define | SAFE_FREE(x) |
| #define | BACKTRACE_STACK_SIZE 64 |
Functions | |
| void | netatalk_panic (const char *why) |
| static void | fault_report (int sig) |
| static void | sig_fault (int sig) |
| void | fault_setup (void(*fn)(void *)) |
Variables | |
| static void(* | cont_fn )(void *) |
| static void(*)(int) | CatchSignal (int signum, void(*handler)(int)) |
| #define BACKTRACE_STACK_SIZE 64 |
| #define SAFE_FREE | ( | x | ) |
| #define SIGNAL_CAST (void (*)(int)) |
|
static |
report a fault
| void fault_setup | ( | void(* | fn )(void *) | ) |
setup our fault handlers
| void netatalk_panic | ( | const char * | why | ) |
Something really nasty happened - panic !
|
static |
catch serious errors
|
static |
Catch a signal. This should implement the following semantics:
|
static |