mod_register_actions now uses parameter mode.

FossilOrigin-Name: 7fccf33259836d6d1139d611825315e21428fbb88d7359d4176ef8ba258488fa
This commit is contained in:
7u83@mail.ru
2016-03-10 07:07:30 +00:00
parent c4f9bca1e6
commit fb74f28756
10 changed files with 47 additions and 23 deletions

View File

@ -31,8 +31,8 @@ struct cw_actiondef;
#define MOD_MAXMODS 8
enum {
MOD_DETECT_CAPWAP,
MOD_DETECT_BINDINGS
MOD_MODE_CAPWAP,
MOD_MODE_BINDINGS
};
struct mod_ac {
@ -51,7 +51,7 @@ struct mod_ac {
void *data;
/** Register actions */
int (*register_actions) (struct cw_actiondef * def);
int (*register_actions) (struct cw_actiondef * def,int mode);
};