Colored debugging, some code cleaning.

FossilOrigin-Name: 23a60b9297d5719fa502b2163680fa1af8bc0201cb777771dc30de045f84b341
This commit is contained in:
7u83@mail.ru
2015-04-12 08:19:02 +00:00
parent bc2fe5d20b
commit cd59b647cd
37 changed files with 420 additions and 239 deletions

View File

@ -26,6 +26,7 @@
#include "conn.h"
#include "itemstore.h"
#include "strheap.h"
#include "intavltree.h"
/* Generic functions and structs */
@ -92,16 +93,32 @@ extern cw_action_out_t * cw_actionlist_out_add(cw_actionlist_out_t t, struct cw_
extern int cw_actionlist_out_register_actions(cw_actionlist_out_t t,cw_action_out_t * actions);
#define cw_actionlist_out_get(t,a) avltree_get(t,a);
/**
* Definition CAPWAP modes
*/
enum capwapmodes {
/** Standard mode as specified in RFC 5415 */
CWMODE_STD = 0,
/** Cisco specific CAPWAP */
CWMODE_CISCO,
/** CIPWAP, a mix of standard CAPWAP and some
Cisco extension */
CWMODE_CIPWAP,
/** Zyxel */
CWMODE_ZYXEL
};
struct cw_actiondef{
cw_actionlist_in_t in;
cw_actionlist_out_t out;
cw_strheap_t strmsg;
cw_strheap_t strelem;
/** Supported Wireless Binding IDs (WBID) */
struct avltree * wbids;
};