code cleanup

FossilOrigin-Name: 9a108e18195d7c46a978339d7818ac688dec8315eb4afdd826d39f8cebab82a3
This commit is contained in:
7u83@mail.ru
2018-03-19 19:00:58 +00:00
parent 34646183a1
commit 3ea831d90c
21 changed files with 106 additions and 1083 deletions

View File

@ -1,43 +0,0 @@
#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_AC_HASH_VALUE[]="ac_hash_value";
const char CIPWAP_ITEM_LOG_FACILITY[]="log_facility";
const char CIPWAP_ITEM_WTP_GROUP_NAME[]="wtp_group";
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_AC_HASH_VALUE,CW_ITEM_NONE,MBAG_BSTR16},
{CIPWAP_ITEM_LOG_FACILITY,CW_ITEM_NONE,MBAG_BYTE},
{CIPWAP_ITEM_WTP_GROUP_NAME,CW_ITEM_NONE,MBAG_BSTR16},
{CW_ITEM_NONE}
};
const char CIPWAP_RADIOITEM80211_OCCUPANCY_LIMIT[]="occupancy_limit";
const char CIPWAP_RADIOITEM80211_CFP_PERIOD[]="cfp_period";
const char CIPWAP_RADIOITEM80211_CFP_MAXIMUM_DURATION[]="cfp_max_duration";
struct cw_itemdef cipwap_radioitemdefs[] = {
{CIPWAP_RADIOITEM80211_OCCUPANCY_LIMIT,CW_ITEM_NONE,MBAG_WORD},
{CIPWAP_RADIOITEM80211_CFP_PERIOD,CW_ITEM_NONE,MBAG_BYTE},
{CIPWAP_RADIOITEM80211_CFP_MAXIMUM_DURATION,CW_ITEM_NONE,MBAG_WORD},
{CW_ITEM_NONE}
};

View File

@ -1,19 +0,0 @@
#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_AC_HASH_VALUE[];
extern const char CIPWAP_ITEM_LOG_FACILITY[];
extern const char CIPWAP_ITEM_WTP_GROUP_NAME[];
extern const char CIPWAP_RADIOITEM80211_OCCUPANCY_LIMIT[];
extern const char CIPWAP_RADIOITEM80211_CFP_PERIOD[];
extern const char CIPWAP_RADIOITEM80211_CFP_MAXIMUM_DURATION[];
extern struct cw_itemdef cipwap_itemdefs[];
extern struct cw_itemdef cipwap_radioitemdefs[];
#endif