diff options
author | Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com> | 2019-03-13 15:41:44 +0700 |
---|---|---|
committer | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-06-18 17:22:09 +0900 |
commit | 341831da4da448392d62e48f1a4f419a18e3dca5 (patch) | |
tree | 2a16432a684e3cc2dc0dba1113ca6ea54cbc98ed /src/daemon/dlt_daemon_common.h | |
parent | cc9e192a990e2f573fbe680cf97368d73ab24f69 (diff) | |
download | DLT-daemon-341831da4da448392d62e48f1a4f419a18e3dca5.tar.gz |
daemon: Don't remove unregistered context
If a context is defined and loaded from runtime context config file,
that context won't be deleted/removed from dlt-daemon database
until its parent application is unregistered.
Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
Diffstat (limited to 'src/daemon/dlt_daemon_common.h')
-rw-r--r-- | src/daemon/dlt_daemon_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/dlt_daemon_common.h b/src/daemon/dlt_daemon_common.h index be29bca..507098a 100644 --- a/src/daemon/dlt_daemon_common.h +++ b/src/daemon/dlt_daemon_common.h @@ -79,6 +79,7 @@ # include <limits.h> # include <semaphore.h> +# include <stdbool.h> # include "dlt_common.h" # include "dlt_user.h" # include "dlt_offline_logstorage.h" @@ -142,6 +143,7 @@ typedef struct int user_handle; /**< connection handle for connection to user application */ char *context_description; /**< context description */ int8_t storage_log_level; /**< log level set for offline logstorage */ + bool predefined; /**< set to true if this context is predefined by runtime configuration file */ } DltDaemonContext; /* |