view src/master/syslog-util.h @ 3863:55df57c028d4 HEAD

Added "bool" type and changed all ints that were used as booleans to bool.
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Jan 2006 22:25:57 +0200
parents cf8933dabc95
children e4eb71ae8e96
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