mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +01:00
58a7738afe
All checks were successful
gitea-sync/ant-http/pipeline/head This commit looks good
- New plugin interface that supports multiple instances - Fix and improve memory bugs - Refactory and cleanup lib - Improve scheduler
13 lines
333 B
C
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 |