From 885a1474729164f3f049a38c27c6f8c148fee95f Mon Sep 17 00:00:00 2001 From: "Alexander.AW.Wenzel@bmw.de" Date: Tue, 9 Aug 2011 10:43:02 +0200 Subject: [GSW-28] Directory where persistent data is stored is not configurable. Fixed. --- src/daemon/dlt_daemon_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/daemon/dlt_daemon_common.h') diff --git a/src/daemon/dlt_daemon_common.h b/src/daemon/dlt_daemon_common.h index fa0fe53..1d16a85 100755 --- a/src/daemon/dlt_daemon_common.h +++ b/src/daemon/dlt_daemon_common.h @@ -149,16 +149,19 @@ typedef struct int sendserialheader; /**< 1: send serial header; 0 don't send serial header */ int timingpackets; /**< 1: send continous timing packets; 0 don't send continous timing packets */ DltRingBuffer client_ringbuffer; /**< Ring-buffer for storing received logs while no client connection is available */ + char runtime_application_cfg[256]; /**< Path and filename of persistent application configuration */ + char runtime_context_cfg[256]; /**< Path and filename of persistent context configuration */ } DltDaemon; /** * Initialise the dlt daemon structure * This function must be called before using further dlt daemon structure * @param daemon pointer to dlt daemon structure + * @param runtime_directory Directory of persistent configuration * @param verbose if set to true verbose information is printed out. * @return negative value if there was an error */ -int dlt_daemon_init(DltDaemon *daemon,int verbose); +int dlt_daemon_init(DltDaemon *daemon,const char *runtime_directory,int verbose); /** * De-Initialise the dlt daemon structure * @param daemon pointer to dlt daemon structure -- cgit v1.2.1