📄 plugin.h
字号:
#ifndef PLUGIN_H_#define PLUGIN_H_typedef struct plugin_struct{ char name[32]; void *handle; int (*init) (int, char **); int (*close) (void); int (*getfd)(void); int (*read) (char **); int (*write) (char *, int); struct plugin_struct *next;}plugin_t;plugin_t *load_plugin(char *filename);void free_plugin(plugin_t *);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -