uses exported cw_Mod struct from dll

using an exported function from dlsym which is
a void * ptr is not portable

FossilOrigin-Name: c3abfc7581aba9f8e050cdbcb0a452a74fbb076c65a5a243aa8e2483a098129d
This commit is contained in:
7u83@mail.ru
2018-03-26 11:21:42 +00:00
parent 4718bcf3bb
commit 00b51bacf9
2 changed files with 104 additions and 103 deletions

View File

@ -31,9 +31,6 @@
#include "conn.h"
struct cw_actiondef;
enum {
CW_MOD_MODE_CAPWAP,
CW_MOD_MODE_BINDINGS
@ -85,12 +82,15 @@ extern struct cw_Mod mod_null;
#define MOD_NULL (&mod_null)
/*
struct cw_actiondef * mod_cache_add(struct conn *conn,struct cw_Mod *c, struct cw_Mod *b);
*/
#define mod_init_config(mod,cfg) (mod->init_config ? mod->init_config(cfg):1)
/*
void mod_set_actions_registered_cb(void (*fun) (struct cw_Mod *, struct cw_Mod *, struct cw_actiondef *));
*/
extern int mod_caching;