summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/log.h b/lib/log.h
index b5dbdfe1..e0437603 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -30,13 +30,6 @@
#define ZLOG_STDOUT 0x04
#define ZLOG_STDERR 0x08
-#define ZLOG_NOLOG_INDEX 0
-#define ZLOG_FILE_INDEX 1
-#define ZLOG_SYSLOG_INDEX 2
-#define ZLOG_STDOUT_INDEX 3
-#define ZLOG_STDERR_INDEX 4
-#define ZLOG_MAX_INDEX 5
-
typedef enum
{
ZLOG_NONE,
@@ -112,11 +105,11 @@ void zlog_set_flag (struct zlog *zl, int flags);
void zlog_reset_flag (struct zlog *zl, int flags);
/* Set zlog filename. */
-int zlog_set_file (struct zlog *zl, int flags, const char *filename);
+int zlog_set_file (struct zlog *zl, const char *filename);
int zlog_reset_file (struct zlog *zl);
/* Rotate log. */
-int zlog_rotate ();
+int zlog_rotate (struct zlog *);
/* For hackey massage lookup and check */
#define LOOKUP(x, y) mes_lookup(x, x ## _max, y)