plugin_handler.h

来自「linux 下通过802.1认证的安装包」· C头文件 代码 · 共 27 行

H
27
字号
/**
 * Licensed under a dual GPL/BSD license.  (See LICENSE file for more info.)
 *
 * \file plugin_handler.h
 *
 * \author seventhguardian@gmail.com
 **/
#ifndef _PLUGIN_HANDLER_H_
#define _PLUGIN_HANDLER_H_
//#include "libxsupconfig/xsupconfig_vars.h"

#ifdef WIN32
#include "../stdintwin.h"
#endif // WIN32

#ifndef WIN32
#include <stdint.h>
#endif // WIN32

void *platform_plugin_entrypoint(struct config_plugins *plugin, char *function_name);
uint8_t platform_plugin_load(struct config_plugins *plugin);
uint8_t platform_plugin_unload(struct config_plugins *plugin);
char *platform_plugin_error(struct config_plugins *plugin);

#endif // _PLUGIN_HANDLER_H_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?