Add syslog() wrapper

This commit is contained in:
Ivo Timmermans 2002-04-13 10:40:09 +00:00
parent 8822481d7b
commit efa59f7cf4

View file

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: logging.h,v 1.2 2002/04/13 10:29:07 zarq Exp $ $Id: logging.h,v 1.3 2002/04/13 10:40:09 zarq Exp $
*/ */
#ifndef __TINC_LOGGING_H__ #ifndef __TINC_LOGGING_H__
@ -54,5 +54,6 @@ extern void log(int, int, char *, ...);
extern void log_add_hook(log_function_t *); extern void log_add_hook(log_function_t *);
extern void log_del_hook(log_function_t *); extern void log_del_hook(log_function_t *);
extern log_function_t log_default_hook; extern log_function_t log_default_hook;
extern void syslog(int, char *, ...);
#endif /* __TINC_LOGGING_H__ */ #endif /* __TINC_LOGGING_H__ */