summaryrefslogtreecommitdiffhomepage
path: root/src/log.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-22 19:34:20 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-22 19:34:20 +0000
commit2ec7a4dd7277ab94ef7821cdc94a437efeee3b39 (patch)
tree74bc37abdd41b3c09c513a008204a067dd5710eb /src/log.h
parent60f61c8f0c33f6f33b40e59dba14d4448fa4fb18 (diff)
The log_message() function now stores the messages if the configuration
file has not been read yet. The reason for this is that we don't know where to log the messgaes until _after_ the config file has been processed.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/log.h b/src/log.h
index d7c608c..bd74471 100644
--- a/src/log.h
+++ b/src/log.h
@@ -1,4 +1,4 @@
-/* $Id: log.h,v 1.8 2001-11-22 00:31:10 rjkaes Exp $
+/* $Id: log.h,v 1.9 2002-04-22 19:34:19 rjkaes Exp $
*
* See 'log.c' for a detailed description.
*
@@ -99,7 +99,8 @@
# define DEBUG2(x, y...) do { } while(0)
#endif
-extern void log_message(short int level, char *fmt, ...);
-extern void set_log_level(short int level);
+extern void log_message(int level, char *fmt, ...);
+extern void set_log_level(int level);
+extern void send_stored_logs(void);
#endif