ant-http/plugin_manager.h
DanyLE 58a7738afe
All checks were successful
gitea-sync/ant-http/pipeline/head This commit looks good
feat: rework on plugin support
- New plugin interface that supports multiple instances
- Fix and improve memory bugs
- Refactory and cleanup lib
- Improve scheduler
2024-03-13 18:07:07 +01:00

13 lines
333 B
C

#ifndef PLUGIN_MANAGER_H
#define PLUGIN_MANAGER_H
#include "lib/dictionary.h"
#include "lib/plugin.h"
#include "lib/scheduler.h"
typedef void*(*antd_plugin_handle_t)(void *);
antd_plugin_ctx_t *antd_plugin_load(const char *name);
void antd_unload_all_plugin();
antd_plugin_handle_t antd_get_ctx_handle(antd_plugin_ctx_t *);
#endif