view src/master/syslog-util.h @ 9359:6debbb31df39 HEAD

lib-index: Minor code cleanup.
author Timo Sirainen <tss@iki.fi>
date Sun, 06 Sep 2009 19:06:52 -0400
parents e4eb71ae8e96
children
line wrap: on
line source

#ifndef SYSLOG_UTIL_H
#define SYSLOG_UTIL_H

struct syslog_facility_list {
	const char *name;
	int facility;
};

extern struct syslog_facility_list syslog_facilities[];

/* Returns TRUE if found. */
bool syslog_facility_find(const char *name, int *facility_r);

#endif