along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: logging.c,v 1.1 2002/04/13 10:25:38 zarq Exp $
+ $Id: logging.c,v 1.2 2002/04/13 10:28:56 zarq Exp $
*/
#include "config.h"
return 0;
}
-void log_message(int level, int priority, char *fmt, ...)
+void log(int level, int priority, char *fmt, ...)
{
avl_node_t *avlnode;
va_list args;
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.1 2002/04/13 10:25:38 zarq Exp $
+ $Id: logging.h,v 1.2 2002/04/13 10:29:07 zarq Exp $
*/
#ifndef __TINC_LOGGING_H__
extern int debug_lvl;
extern avl_tree_t *log_hooks_tree;
-extern void log_message(int, int, char *, ...);
+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;