dkslsupp.h File Reference

Syslog support. More...

#include <dk.h>
#include <dktypes.h>

Go to the source code of this file.

Functions

int dkslsupp_get_code (char *s)
 Get facility/priority code.
int dkslsupp_get_facility (char *s)
 Get facility code.


Detailed Description

Syslog support.

Get priority and facility code as integer from string.


Function Documentation

int dkslsupp_get_code ( char *  s  ) 

Get facility/priority code.

Parameters:
s The string (``mail.debug'').
Returns:
The syslog code expressing facility and priority.

int dkslsupp_get_facility ( char *  s  ) 

Get facility code.

Parameters:
s The string (``mail'').
Returns:
The syslog code expressing the facility.


Generated on Mon Feb 16 17:12:04 2009 for dklibs by  doxygen 1.5.6