#include "syslog.h"

/* macros for syslogging */
/*
#define SYSLOG_ERROR(msg) syslog(LOG_ERR, "%s:%m", msg)
#define SYSLOG_WARNING(msg) syslog(LOG_WARNING, "%s:%m", msg)
#define SYSLOG_NOTICE(msg) syslog(LOG_NOTICE, msg)
#define SYSLOG_DEBUG(msg) syslog(LOG_DEBUG, msg)
*/

#define PLOG_ERR  0
#define	PLOG_WARN 1
#define	PLOG_NOTE 2
#define	PLOG_INFO 3
#define	PLOG_DBUG 4

#ifndef OK
#define OK		  0
#define	NOTOK	 -1
#endif

/*
 * New functions
 */

__BEGIN_DECLS

int						plog_open			__P((int, char *, char *));
void					plog_error			__P((int, char *));
void					plog_close			__P((void));

__END_DECLS
 
