Mor work on dynamic loading of modules
FossilOrigin-Name: b02170339426d0c9efc42d700e891a90f7ddb0961a67b679909a1c929e1501e1
This commit is contained in:
@ -64,6 +64,11 @@ struct cw_Mod {
|
||||
int (*register_actions) (struct cw_actiondef * def,int mode);
|
||||
|
||||
struct cw_MsgSet * (*register_messages)(struct cw_MsgSet set, int mode);
|
||||
|
||||
/**
|
||||
* Handle returned by dlopen, if this module was loaded dynamically
|
||||
* with dlopen */
|
||||
void * handle;
|
||||
};
|
||||
|
||||
|
||||
@ -84,6 +89,6 @@ extern int mod_caching;
|
||||
#define mod_set_caching(var) (mod_caching=var)
|
||||
#define mod_get_caching() (mod_caching)
|
||||
|
||||
extern int cw_mod_add_dynamic(const char * path, const char * file);
|
||||
struct cw_Mod * cw_mod_add_dynamic(const char * path, const char * file);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user