rename mod_wtp and mod_ac to cw_Mod
FossilOrigin-Name: 4a8f9578a5fc384f0dad291114ac9470ea8561817e87760946277ec9ddd0db79
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
#ifndef __MOD_CIPWAP_H
|
||||
#define __MOD_CIPWAP_H
|
||||
|
||||
struct mod_ac * mod_cipwap_ac();
|
||||
struct mod_wtp * mod_cipwap_wtp();
|
||||
struct cw_Mod * mod_cipwap_ac();
|
||||
struct cw_Mod * mod_cipwap_wtp();
|
||||
|
||||
extern int cipwap_register_actions_ac(struct cw_actiondef *def);
|
||||
|
||||
|
@ -30,7 +30,7 @@ static int register_actions(struct cw_actiondef *actions, int mode)
|
||||
case MOD_MODE_CAPWAP:
|
||||
{
|
||||
|
||||
struct mod_ac *cmod = modload_ac("capwap");
|
||||
struct cw_Mod *cmod = modload_ac("capwap");
|
||||
if (!cmod) {
|
||||
cw_log(LOG_ERR,
|
||||
"Can't initialize mod_cisco, failed to load base mod mod_capwap");
|
||||
@ -69,7 +69,7 @@ static int register_actions(struct cw_actiondef *actions, int mode)
|
||||
|
||||
|
||||
|
||||
static struct mod_ac cipwap_ac = {
|
||||
static struct cw_Mod cipwap_ac = {
|
||||
.name ="cipwap",
|
||||
.init = cipwap_init,
|
||||
.detect = detect,
|
||||
@ -79,7 +79,7 @@ static struct mod_ac cipwap_ac = {
|
||||
|
||||
|
||||
|
||||
struct mod_ac * mod_cipwap_ac(){
|
||||
struct cw_Mod * mod_cipwap_ac(){
|
||||
return &cipwap_ac;
|
||||
};
|
||||
|
||||
|
@ -30,7 +30,7 @@ static int register_actions(struct cw_actiondef *actions, int mode)
|
||||
case MOD_MODE_CAPWAP:
|
||||
{
|
||||
|
||||
struct mod_ac *cmod = modload_wtp("capwap");
|
||||
struct cw_Mod *cmod = modload_wtp("capwap");
|
||||
if (!cmod) {
|
||||
cw_log(LOG_ERR,
|
||||
"Can't initialize mod_cisco, failed to load base mod mod_capwap");
|
||||
@ -69,7 +69,7 @@ static int register_actions(struct cw_actiondef *actions, int mode)
|
||||
|
||||
|
||||
|
||||
static struct mod_ac cipwap_wtp = {
|
||||
static struct cw_Mod cipwap_wtp = {
|
||||
.name ="cipwap",
|
||||
.init = cipwap_init,
|
||||
.detect = detect,
|
||||
@ -79,7 +79,7 @@ static struct mod_ac cipwap_wtp = {
|
||||
|
||||
|
||||
|
||||
struct mod_ac * mod_cipwap_wtp(){
|
||||
struct cw_Mod * mod_cipwap_wtp(){
|
||||
return &cipwap_wtp;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user