From 34a670beb01bda0723f8be004b4ab94eb5287753 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Tue, 13 May 2014 11:09:59 +0200 Subject: Make daemon buffer size configurable Signed-off-by: Alexander Wenzel --- 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 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 -- cgit v1.2.1