From 4ccd353c9e5d89a6c8f07b7fe03f815786442021 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Fri, 1 May 2015 17:52:34 +0000 Subject: [PATCH] Removed. FossilOrigin-Name: 30b5daa86a2e9921d299aef52498b3f5a08c70bae31c3df7c957a60d59f7102f --- ...cw_readmsg_configuration_status_response.c | 32 ------------ src/capwap/cwread_wtp_event_request.c | 52 ------------------- 2 files changed, 84 deletions(-) delete mode 100644 src/capwap/cw_readmsg_configuration_status_response.c delete mode 100644 src/capwap/cwread_wtp_event_request.c diff --git a/src/capwap/cw_readmsg_configuration_status_response.c b/src/capwap/cw_readmsg_configuration_status_response.c deleted file mode 100644 index 78c476bc..00000000 --- a/src/capwap/cw_readmsg_configuration_status_response.c +++ /dev/null @@ -1,32 +0,0 @@ - -#include "capwap.h" - -#include "cw_log.h" - - -int cw_readmsg_configuration_status_response(uint8_t *elems,int elems_len) -{ - uint8_t * elem; - - - cw_foreach_elem(elem,elems,elems_len){ - - int type = cw_get_elem_type(elem); - int len = cw_get_elem_len(elem); - uint8_t *data = cw_get_elem_data(elem); - - cw_dbg_msgelem(CW_MSG_CONFIGURATION_STATUS_RESPONSE, type, data, len); - - - cw_readelem_vendor_specific_payload(elem,CW_MSG_CONFIGURATION_STATUS_RESPONSE, type,data,len ); - - - - - - - - } - - -} diff --git a/src/capwap/cwread_wtp_event_request.c b/src/capwap/cwread_wtp_event_request.c deleted file mode 100644 index 358a9c85..00000000 --- a/src/capwap/cwread_wtp_event_request.c +++ /dev/null @@ -1,52 +0,0 @@ -#include - -#include "capwap.h" -#include "cw_log.h" -#include "cw_util.h" - -struct eparm { - int * mand; - uint32_t result_code; - struct wtpinfo * wtpinfo; -}; - - -static int readelem(void * eparm,int type,uint8_t* msgelem,int len) -{ - struct eparm * e = (struct eparm*)eparm; - cw_dbg_msgelem(CW_MSG_CHANGE_STATE_EVENT_REQUEST,type,msgelem,len); - - - - return 0; -//foundX: - cw_mand_elem_found(e->mand,type); - return 1; -} - - -int cwread_wtp_event_request(struct wtpinfo * wtpinfo, uint8_t * msg, int len) -{ - int mand[] = { - -1}; - - struct eparm eparm; - eparm.wtpinfo = wtpinfo; - eparm.mand=mand; - - cw_dbg(DBG_ELEM,"Reading wtp event request, len=%d",len); - cw_foreach_msgelem(msg,len,readelem,&eparm); - - - if (cw_is_missing_mand_elems(mand)){ - char str[512]; - cw_get_missing_mand_elems(str,mand); - cw_dbg(DBG_CW_RFC, "Missing msgelems in change state event request: %s",str); - } - return eparm.result_code; -} - - - - -