feat(module manager): module new add ctx as parameter

This commit is contained in:
yangwei
2024-09-19 15:58:39 +08:00
parent f26ed588da
commit 6af61355e3
3 changed files with 5 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ extern "C"
#include "stellar/mq.h"
struct stellar_module;
struct stellar_module *stellar_module_new(const char *name);
struct stellar_module *stellar_module_new(const char *name, void *ctx);
void stellar_module_free(struct stellar_module *mod);
void * stellar_module_get_ctx(struct stellar_module *mod);