summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-09-19 16:56:26 +0800
committeryangwei <[email protected]>2024-09-19 16:56:26 +0800
commit7b32a86e66eefab011fdb33d9706528a66142ac4 (patch)
treeeef643f8e7e775df7faeb1d1365ec5b35ba5e4a9 /include
parent7cce13001bcf05943ddfd918cae47e8a25e3b27d (diff)
✨ feat(module manager API): rename api with manager
Diffstat (limited to 'include')
-rw-r--r--include/stellar/module_manager.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/stellar/module_manager.h b/include/stellar/module_manager.h
index fad50cf..06c51a4 100644
--- a/include/stellar/module_manager.h
+++ b/include/stellar/module_manager.h
@@ -27,15 +27,16 @@ void stellar_module_manager_free(struct stellar_module_manager *mod_mgr);
void stellar_module_manager_register_thread(struct stellar_module_manager* mod_mgr, int thread_id, struct mq_runtime *mq_rt);
-struct stellar_module *stellar_module_manager_get_module(struct stellar_module_manager *mod_mgr, const char *module_name);
-
// return -1 on error
int stellar_module_manager_get_thread_id(struct stellar_module_manager* mod_mgr);
-int stellar_module_manager_get_max_thread_num(struct stellar_module_manager* mod_mgr);
+struct mq_runtime *stellar_module_manager_get_mq_runtime(struct stellar_module_manager *mod_mgr);
+struct stellar_module *stellar_module_manager_get_module(struct stellar_module_manager *mod_mgr, const char *module_name);
+
+int stellar_module_manager_get_max_thread_num(struct stellar_module_manager* mod_mgr);
const char *stellar_module_manager_get_toml_path(struct stellar_module_manager *mod_mgr);
-struct mq_schema *stellar_module_get_mq_schema(struct stellar_module_manager *mod_mgr);
-struct mq_runtime *stellar_module_get_mq_runtime(struct stellar_module_manager *mod_mgr);
+struct mq_schema *stellar_module_manager_get_mq_schema(struct stellar_module_manager *mod_mgr);
+
#ifdef __cplusplus
}