diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2014-05-13 11:09:59 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2014-05-16 08:37:34 +0200 |
commit | 34a670beb01bda0723f8be004b4ab94eb5287753 (patch) | |
tree | 1c5400f2786e62b8094c3000ae7408f1cf9c88c5 /src/daemon/dlt_daemon_common.h | |
parent | 8b48e73f79b4463393916e4c6696917e3dedd026 (diff) | |
download | DLT-daemon-34a670beb01bda0723f8be004b4ab94eb5287753.tar.gz |
Make daemon buffer size configurable
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/daemon/dlt_daemon_common.h')
-rw-r--r-- | 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 4c92c43..db1bc0b 100644 --- a/src/daemon/dlt_daemon_common.h +++ b/src/daemon/dlt_daemon_common.h @@ -163,11 +163,14 @@ typedef struct * Initialise the dlt daemon structure
* This function must be called before using further dlt daemon structure
* @param daemon pointer to dlt daemon structure
+ * @param RingbufferMinSize ringbuffer size
+ * @param RingbufferMaxSize ringbuffer size
+ * @param RingbufferStepSize ringbuffer size
* @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,const char *runtime_directory,int verbose);
+int dlt_daemon_init(DltDaemon *daemon,unsigned long RingbufferMinSize,unsigned long RingbufferMaxSize,unsigned long RingbufferStepSize,const char *runtime_directory,int verbose);
/**
* De-Initialise the dlt daemon structure
* @param daemon pointer to dlt daemon structure
|