summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_common.h
diff options
context:
space:
mode:
authorMohammed AL Dardoun <mohammed.aldardoun@partner.bmw.de>2011-08-09 17:04:17 +0200
committerMohammed AL Dardoun <mohammed.aldardoun@partner.bmw.de>2011-08-09 17:04:17 +0200
commit7554585a80ca2a8ebdcd5d1f1693ffe8e39b571d (patch)
tree5e479e49045e847c4ffe08d09a553763173bd836 /src/daemon/dlt_daemon_common.h
parent11702b620d2ec8896af210168db81ee58923d9da (diff)
downloadDLT-daemon-7554585a80ca2a8ebdcd5d1f1693ffe8e39b571d.tar.gz
[GSW-43] Flow Control for sending huge amount of data over DLT. partialy fixed
Diffstat (limited to 'src/daemon/dlt_daemon_common.h')
-rwxr-xr-xsrc/daemon/dlt_daemon_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/dlt_daemon_common.h b/src/daemon/dlt_daemon_common.h
index fa0fe53..d861a9e 100755
--- a/src/daemon/dlt_daemon_common.h
+++ b/src/daemon/dlt_daemon_common.h
@@ -97,6 +97,10 @@ extern "C" {
#define DLT_DAEMON_RINGBUFFER_SIZE 100000 /**< Ring buffer size for storing log messages while no client is connected */
+#define DLT_DAEMON_RINGBUFFER_INCREASE_SIZE DLT_DAEMON_RINGBUFFER_SIZE
+
+#define DLT_DAEMON_RINGBUFFER_MAXIMUM_SIZE 100*DLT_DAEMON_RINGBUFFER_INCREASE_SIZE
+
#define DLT_DAEMON_STORE_TO_BUFFER -2 /**< Constant value to identify the command "store to buffer" */
/* Use a semaphore or mutex from your OS to prevent concurrent access to the DLT buffer. */