summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_common.h
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>2020-10-26 16:28:00 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-01-06 09:27:28 +0900
commit4eb5be749b23081d2c92680d2a481e36f7ac0685 (patch)
treeee8a41dd31baa4136e1685082c598f41f0bef2c1 /src/daemon/dlt_daemon_common.h
parent1bbccc2bb07109007fecaf8007a6552d056edb66 (diff)
downloadDLT-daemon-4eb5be749b23081d2c92680d2a481e36f7ac0685.tar.gz
daemon: Correct order of runtime config load.
Since order of runtime config load for app-ctx and dlt-runtime are different from each other, so they could not be in the same load_runtime function. 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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/daemon/dlt_daemon_common.h b/src/daemon/dlt_daemon_common.h
index c6a4594..8586e1b 100644
--- a/src/daemon/dlt_daemon_common.h
+++ b/src/daemon/dlt_daemon_common.h
@@ -246,13 +246,16 @@ DltDaemonRegisteredUsers *dlt_daemon_find_users_list(DltDaemon *daemon,
char *ecu,
int verbose);
/**
- * Loads the user saved configurations to daemon
+ * Init the user saved configurations to daemon.
+ * Since the order of loading runtime config could be different,
+ * this function won't be the place to do that.
+ * This is just for preparation of real load later.
* @param daemon pointer to dlt daemon structure
* @param runtime_directory directory path
* @param verbose if set to true verbose information is printed out
* @return DLT_RETURN_OK on success, DLT_RETURN_ERROR otherwise
*/
-int dlt_daemon_load_runtime_configuration(DltDaemon *daemon,
+int dlt_daemon_init_runtime_configuration(DltDaemon *daemon,
const char *runtime_directory,
int verbose);