From fd6c274685e5fd66506f29dece45032650ce6a92 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Fri, 28 Jun 2013 16:18:18 +0200 Subject: First version of journal support. Signed-off-by: Alexander Wenzel --- src/system/dlt-system.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/system/dlt-system.h') diff --git a/src/system/dlt-system.h b/src/system/dlt-system.h index f949aea..28a1b46 100644 --- a/src/system/dlt-system.h +++ b/src/system/dlt-system.h @@ -86,13 +86,19 @@ typedef struct { int Daemonize; } DltSystemCliOptions; -// Configuration file options +// Configuration syslog options typedef struct { int Enable; char *ContextId; int Port; } SyslogOptions; +// Configuration journal options +typedef struct { + int Enable; + char *ContextId; +} JournalOptions; + typedef struct { int Enable; char *ContextId; @@ -134,6 +140,7 @@ typedef struct { typedef struct { char *ApplicationId; SyslogOptions Syslog; + JournalOptions Journal; FiletransferOptions Filetransfer; LogFileOptions LogFile; LogProcessOptions LogProcesses; @@ -171,4 +178,8 @@ void start_logprocess(DltSystemConfiguration *conf); void start_systemd_watchdog(DltSystemConfiguration *conf); #endif +#if defined(DLT_SYSTEMD_JOURNAL_ENABLE) +void start_systemd_journal(DltSystemConfiguration *conf); +#endif + #endif /* DLT_SYSTEM_H_ */ -- cgit v1.2.1