1 /* $NetBSD: msg_syslog.h,v 1.3 2020/03/18 19:05:21 christos Exp $ */ 2 3 #ifndef _MSG_SYSLOG_H_INCLUDED_ 4 #define _MSG_SYSLOG_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* msg_syslog 3h 9 /* SUMMARY 10 /* direct diagnostics to syslog daemon 11 /* SYNOPSIS 12 /* #include <msg_syslog.h> 13 /* DESCRIPTION 14 15 /* 16 * System library. 17 */ 18 #include <syslog.h> 19 20 /* 21 * External interface. 22 */ 23 extern void msg_syslog_init(const char *, int, int); 24 extern int msg_syslog_set_facility(const char *); 25 extern void msg_syslog_disable(void); 26 27 /* LICENSE 28 /* .ad 29 /* .fi 30 /* The Secure Mailer license must be distributed with this software. 31 /* AUTHOR(S) 32 /* Wietse Venema 33 /* IBM T.J. Watson Research 34 /* P.O. Box 704 35 /* Yorktown Heights, NY 10598, USA 36 /* 37 /* Wietse Venema 38 /* Google, Inc. 39 /* 111 8th Avenue 40 /* New York, NY 10011, USA 41 /*--*/ 42 43 #endif 44