ec_plugins.h
上传用户:nilegod
上传日期:2007-01-08
资源大小:220k
文件大小:1k
- #include <string.h>
- typedef struct plug_list
- {
- char *path;
- char *name;
- float version;
- char *description;
- } PLUGINS;
- extern PLUGINS *Plugins_list; // ec_plugins.c
- extern int Plugin_MakePlugList(void);
- extern void Plugin_RunPlugIn(char *name, char **argv);
- extern char *Plugin_Getname(char *plugin);
- // API for plug-ins Input/Output
- extern void Plugin_Output(char *message, ...); // like printf...
- extern int Plugin_Input(char *string, // the string in which store data
- short size, // the max len of the string
- short mode); // P_BLOCK or P_NONBLOCK
- #define P_BLOCK 1
- #define P_NONBLOCK 0
- /* EOF */