syslog.c File Reference

#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 []


Detailed Description

Definition in file syslog.c.


Function Documentation

isc_result_t isc_syslog_facilityfromstring ( const char *  str,
int *  facilityp 
)

Convert 'str' to the appropriate syslog facility constant.

Requires:

Returns:

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().


Variable Documentation

struct dsn_c_pvt_sfnt facilities[] [static]

Referenced by isc_syslog_facilityfromstring().


Generated on Tue Apr 28 17:41:19 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha