Some magic
This commit is contained in:
parent
738389581b
commit
490b13edcf
1 changed files with 6 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
|||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
$Id: logging.h,v 1.3 2002/04/13 10:40:09 zarq Exp $
|
||||
$Id: logging.h,v 1.4 2002/04/13 10:45:56 zarq Exp $
|
||||
*/
|
||||
|
||||
#ifndef __TINC_LOGGING_H__
|
||||
|
@ -54,6 +54,10 @@ extern void log(int, int, char *, ...);
|
|||
extern void log_add_hook(log_function_t *);
|
||||
extern void log_del_hook(log_function_t *);
|
||||
extern log_function_t log_default_hook;
|
||||
extern void syslog(int, char *, ...);
|
||||
extern void tinc_syslog(int, char *, ...);
|
||||
|
||||
#ifndef LOG_ERR /* Something from syslog.h */
|
||||
# define syslog tinc_syslog
|
||||
#endif
|
||||
|
||||
#endif /* __TINC_LOGGING_H__ */
|
||||
|
|
Loading…
Reference in a new issue