summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.h
diff options
context:
space:
mode:
authorsebastienr <sebastien.raillet@gmail.com>2020-11-25 01:11:43 +0100
committerGitHub <noreply@github.com>2020-11-25 09:11:43 +0900
commitf093d547c2e4c68d0b7060f9accfc67784b7c06a (patch)
tree073535ce523b8bcfb66f0bff5e2056068d20b9ef /src/daemon/dlt-daemon.h
parent723344e43485c105fe79d21e2ba4c0dcd3dd0ca7 (diff)
downloadDLT-daemon-f093d547c2e4c68d0b7060f9accfc67784b7c06a.tar.gz
dlt-daemon: Adds an option to disable injection mode (#266)
A new option named "InjectionMode" allows to select if we want to enable / disable the feature Signed-off-by: Sebastien RAILLET <sebastien.raillet@marelli.com>
Diffstat (limited to 'src/daemon/dlt-daemon.h')
-rw-r--r--src/daemon/dlt-daemon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h
index 6637f1d..31598bb 100644
--- a/src/daemon/dlt-daemon.h
+++ b/src/daemon/dlt-daemon.h
@@ -135,7 +135,8 @@ typedef struct
int contextLogLevel; /**< (int) log level sent to context if registered with default log-level or if enforced*/
int contextTraceStatus; /**< (int) trace status sent to context if registered with default trace status or if enforced*/
int enforceContextLLAndTS; /**< (Boolean) Enforce log-level, trace-status not to exceed contextLogLevel, contextTraceStatus */
- DltBindAddress_t *ipNodes; /**< (String: BindAddress) The daemon accepts connections only on this list of IP addresses */
+ DltBindAddress_t* ipNodes; /**< (String: BindAddress) The daemon accepts connections only on this list of IP addresses */
+ int injectionMode; /**< (Boolean) Injection mode */
} DltDaemonFlags;
/**
* The global parameters of a dlt daemon.