#include <config.h>
#include <stdlib.h>
#include <syslog.h>
#include <isc/result.h>
#include <isc/string.h>
#include <isc/util.h>
Go to the source code of this file.
Data Structures | |
struct | dsn_c_pvt_sfnt |
Functions | |
isc_result_t | isc_syslog_facilityfromstring (const char *str, int *facilityp) |
Convert 'str' to the appropriate syslog facility constant. | |
Variables | |
static struct dsn_c_pvt_sfnt | facilities [] |
Definition in file syslog.c.
isc_result_t isc_syslog_facilityfromstring | ( | const char * | str, | |
int * | facilityp | |||
) |
Convert 'str' to the appropriate syslog facility constant.
Requires:
Definition at line 70 of file syslog.c.
References facilities, ISC_R_NOTFOUND, ISC_R_SUCCESS, REQUIRE, dsn_c_pvt_sfnt::strval, and dsn_c_pvt_sfnt::val.
Referenced by channel_fromconf().
struct dsn_c_pvt_sfnt facilities[] [static] |
Referenced by isc_syslog_facilityfromstring().