view src/master/syslog-util.h @ 9259:ea2eed32d59e HEAD

cache file: If offset isn't 32bit aligned, assume it's corrupted.
author Timo Sirainen <tss@iki.fi>
date Sun, 26 Jul 2009 22:40:02 -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