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

@ -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