Moved cipwap_items to mod/cipwap

FossilOrigin-Name: 99fc10818ae04e66f4dedac83cda3e057f2ecb35cb84a2759013404b8ec0e1d6
This commit is contained in:
7u83@mail.ru
2016-04-02 15:07:35 +00:00
parent 336f6124a6
commit e0ccdbd38f
11 changed files with 14 additions and 22 deletions

View File

@ -5,7 +5,7 @@ include ../../Config.mak
OBJS:=$(patsubst %.o,$(ARCH)/%.o,$(OBJS))
CFLAGS = -Wall -g -O0 -D_REENTRANT -DWITH_IPV6 $(COMPDEFS) -DWITH_RMAC_SUPPORT -I ../../ -I../
CFLAGS = -Wall -g -O0 -D_REENTRANT -DWITH_IPV6 $(COMPDEFS) -DWITH_RMAC_SUPPORT -I ../../ -I../ -I../../include
LIBDIR=../../lib/$(ARCH)

View File

@ -4,6 +4,7 @@ OBJS=\
mod_cipwap_wtp.o \
cipwap_actions_ac.o \
cipwap_actions_wtp.o \
cipwap_items.o \
NAME=libcipwap.a

View File

@ -19,10 +19,10 @@
#include "cw/cw.h"
#include "cw/action.h"
#include "cw/cipwap_items.h"
#include "cw/strheap.h"
#include "cw/radio.h"
#include "cipwap_items.h"
#include "mod_cipwap.h"

View File

@ -19,10 +19,10 @@
#include "cw/cw.h"
#include "cw/action.h"
#include "cw/cipwap_items.h"
#include "cw/strheap.h"
#include "cw/radio.h"
#include "cipwap_items.h"
#include "mod_cipwap.h"

View File

@ -0,0 +1,22 @@
#include "cw/mbag.h"
#include "cw/item.h"
#include "cipwap_items.h"
const char CIPWAP_ITEM_SSH_ENABLE[]="ssh_enable";
const char CIPWAP_ITEM_TELNET_ENABLE[]="telnet_enable";
const char CIPWAP_ITEM_AP_HASH_VALUE[]="ap_hash_value";
struct cw_itemdef cipwap_itemdefs[] = {
{CIPWAP_ITEM_TELNET_ENABLE,CW_ITEM_NONE,MBAG_BYTE},
{CIPWAP_ITEM_SSH_ENABLE,CW_ITEM_NONE,MBAG_BYTE},
{CIPWAP_ITEM_AP_HASH_VALUE,CW_ITEM_NONE,MBAG_BSTR16},
{CW_ITEM_NONE}
};

View File

@ -0,0 +1,10 @@
#ifndef __CIPWAP_ITEMS_H
#define __CIPWAP_ITEMS_H
extern const char CIPWAP_ITEM_SSH_ENABLE[];
extern const char CIPWAP_ITEM_TELNET_ENABLE[];
extern const char CIPWAP_ITEM_AP_HASH_VALUE[];
extern struct cw_itemdef cipwap_itemdefs[];
#endif

View File

@ -26,9 +26,10 @@
#include "cw/capwap_cisco.h"
#include "cw/capwap80211.h"
#include "cw/capwap80211_items.h"
#include "cw/cipwap_items.h"
#include "cw/lwapp_cisco.h"
#include "include/cipwap_items.h"
#include "mod_cisco.h"
#include "cisco.h"

View File

@ -1,7 +1,7 @@
#include "cisco.h"
#include "cw/cipwap_items.h"
#include "include/cipwap_items.h"
#include "cw/cw.h"
#include "cw/dbg.h"

View File

@ -1,7 +1,6 @@
#include "cisco.h"
#include "cw/capwap_items.h"
#include "cw/cipwap_items.h"
#include "cw/lwapp.h"
#include "cw/cw.h"
@ -11,6 +10,7 @@
#include "cw/capwap_cisco.h"
#include "include/cipwap_items.h"