#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <syslog.h>
#include "report.h"
Go to the source code of this file.
Functions | |
void | report_set_output (enum report_output new_output) |
static void | vreport (enum report_type type, char *msg, va_list arg) |
void | report (enum report_type type, char *msg,...) |
void | die (int status, char *msg,...) |
Variables | |
static enum report_output | output = report_console |
void die | ( | int | status, | |
char * | msg, | |||
... | ||||
) |
Definition at line 99 of file report.c.
References report_fatal, and vreport().
void report | ( | enum report_type | type, | |
char * | msg, | |||
... | ||||
) |
void report_set_output | ( | enum report_output | new_output | ) |
Definition at line 29 of file report.c.
References output, and report_syslog.
static void vreport | ( | enum report_type | type, | |
char * | msg, | |||
va_list | arg | |||
) | [static] |
Definition at line 43 of file report.c.
References output, report_console, report_debug, report_error, report_fatal, report_info, report_set_output(), report_syslog, and report_warning.
enum report_output output = report_console [static] |