diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-06-17 16:27:10 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-06-17 16:27:26 +0200 |
commit | 8a8f49a501fd109bcb722afff7eb2c7852a04107 (patch) | |
tree | 10702f4086c6df7720c53ed4de5f81cb0d308c38 /syslogd/logfile.h | |
parent | f1cc12f55ebb51209cb26e71985d35c5e6671520 (diff) |
usyslogd: do logfile lookup by facility number
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'syslogd/logfile.h')
-rw-r--r-- | syslogd/logfile.h | 3 |
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); |