diff options
author | Alexander.AW.Wenzel@bmw.de <Alexander.AW.Wenzel@bmw.de> | 2011-08-09 10:43:02 +0200 |
---|---|---|
committer | Alexander.AW.Wenzel@bmw.de <Alexander.AW.Wenzel@bmw.de> | 2011-08-09 10:43:02 +0200 |
commit | 885a1474729164f3f049a38c27c6f8c148fee95f (patch) | |
tree | 6790f26ac12cb19e1a311e2a5d622c36827bc4ab /src/daemon/dlt_daemon_common.h | |
parent | 11702b620d2ec8896af210168db81ee58923d9da (diff) | |
download | DLT-daemon-885a1474729164f3f049a38c27c6f8c148fee95f.tar.gz |
[GSW-28] Directory where persistent data is stored is not configurable. Fixed.
Diffstat (limited to 'src/daemon/dlt_daemon_common.h')
-rwxr-xr-x | src/daemon/dlt_daemon_common.h | 5 |
1 files changed, 4 insertions, 1 deletions
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
|