summaryrefslogtreecommitdiff
path: root/syslogd/logfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd/logfile.h')
-rw-r--r--syslogd/logfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/syslogd/logfile.h b/syslogd/logfile.h
index 58da272..cf4a7d6 100644
--- a/syslogd/logfile.h
+++ b/syslogd/logfile.h
@@ -20,12 +20,13 @@
typedef struct logfile_t {
struct logfile_t *next;
+ int facility;
int fd;
char name[];
} logfile_t;
-logfile_t *logfile_create(const char *name);
+logfile_t *logfile_create(const char *name, int facility);
void logfile_destroy(logfile_t *file);