diff options
Diffstat (limited to 'daemon/syslogd.h')
-rw-r--r-- | daemon/syslogd.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/daemon/syslogd.h b/daemon/syslogd.h index 7b41db8..b7569bb 100644 --- a/daemon/syslogd.h +++ b/daemon/syslogd.h @@ -96,9 +96,12 @@ struct message int facility; int priority; struct string *timestamp; - struct string *hostname; - struct string *program; + struct string *hostname; /* for logging */ + struct string *hostname_in_locale; /* for filename construction */ + struct string *program; /* in locale, for filename construction */ struct string *message; + struct string *separator; + struct string *end_of_line; }; extern struct message* create_message( struct source* source, @@ -197,8 +200,9 @@ struct logpath struct source *source; struct filter *filter; struct destination *destination; - GIConv message_cd; /* charset conversion descriptor for message */ - GIConv program_cd; /* charset conversion descriptor for program name */ + GIConv src2dest_cd; /* charset conversion descriptor for message */ + GIConv ascii2dest_cd; /* charset conversion descriptor for ascii parts of message */ + GIConv src2locale_cd; /* charset conversion descriptor for those parts that are used for filename construction */ }; extern GList *sources; |