✨ feat(module manager API): rename api with manager
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user