summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.h
diff options
context:
space:
mode:
authorLassi Marttala <Lassi.LM.Marttala@partner.bmw.de>2013-01-18 11:44:02 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-07-19 16:54:16 +0200
commiteaf180bbe2cd7134cf31f2a8627fa861519d95ad (patch)
tree0fb40d6d77ced47b9332fe89ceb293864c7495d1 /src/daemon/dlt-daemon.h
parent3774bc35a6491de7bd82e5f955b78f3a9ee70116 (diff)
downloadDLT-daemon-eaf180bbe2cd7134cf31f2a8627fa861519d95ad.tar.gz
Unify ECU version sending functions
Review changes: Lower log level when opening fails. It might be deliberately set to non-existent file. Give name to period time in ECU version sending Merge branch 'LM-GSWD-162' Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/daemon/dlt-daemon.h')
-rwxr-xr-xsrc/daemon/dlt-daemon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h
index 37c82ac..b256cc3 100755
--- a/src/daemon/dlt-daemon.h
+++ b/src/daemon/dlt-daemon.h
@@ -103,8 +103,8 @@ typedef struct
int loggingMode; /**< (int) The logging console for internal logging of dlt-daemon (Default: 0) */
int loggingLevel; /**< (int) The logging level for internal logging of dlt-daemon (Default: 6) */
char loggingFilename[256]; /**< (String: Filename) The logging filename if internal logging mode is log to file (Default: /tmp/log) */
- int sendECUSoftwareVersion;
- char pathToECUSoftwareVersion[256];
+ int sendECUSoftwareVersion; /**< (Boolean) Send ECU software version perdiodically */
+ char pathToECUSoftwareVersion[256]; /**< (String: Filename) The file from which to read the ECU version from. */
} DltDaemonFlags;
/**
@@ -155,6 +155,7 @@ void dlt_daemon_local_cleanup(DltDaemon *daemon, DltDaemonLocal *daemon_local, i
int dlt_daemon_local_init_p1(DltDaemon *daemon, DltDaemonLocal *daemon_local, int verbose);
int dlt_daemon_local_init_p2(DltDaemon *daemon, DltDaemonLocal *daemon_local, int verbose);
int dlt_daemon_local_connection_init(DltDaemon *daemon, DltDaemonLocal *daemon_local, int verbose);
+int dlt_daemon_local_ecu_version_init(DltDaemon *daemon, DltDaemonLocal *daemon_local, int verbose);
void dlt_daemon_daemonize(int verbose);
void dlt_daemon_signal_handler(int sig);