Rename log_message to log
authorIvo Timmermans <ivo@lychnis.net>
Sat, 13 Apr 2002 10:29:07 +0000 (10:29 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Sat, 13 Apr 2002 10:29:07 +0000 (10:29 +0000)
src/logging.c
src/logging.h

index 983bdfa..ed59577 100644 (file)
@@ -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.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"
@@ -44,7 +44,7 @@ int log_compare(const void *a, const void *b)
   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;
index 2e2ccf6..014565f 100644 (file)
@@ -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.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__
@@ -50,7 +50,7 @@ typedef void (log_function_t)(int,int,char*,va_list);
 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;