int cw_register_actions_capwap_ac(struct cw_actiondef *def) { def->in = cw_actionlist_in_create(); def->out = cw_actionlist_out_create(); def->strmsg = cw_strheap_create(); def->strelem = cw_strheap_create(); def->wbids = intavltree_create(); def->items = cw_itemdefheap_create(); def->radioitems = cw_itemdefheap_create(); int rc; rc = cw_actionlist_in_register_actions(def->in, capwap_actions_ac_in); rc += cw_actionlist_out_register_actions(def->out, capwap_actions_ac_out); rc += cw_strheap_register_strings(def->strmsg, capwap_strings_msg); rc += cw_strheap_register_strings(def->strelem, capwap_strings_elem); rc += cw_itemdefheap_register(def->items,capwap_itemdefs); rc += cw_itemdefheap_register(def->radioitems,capwap_radioitemdefs); intavltree_add(def->wbids,0); return rc; }
int zyxel_register_actions_ac(struct cw_actiondef *def) { int rc; rc = cw_actionlist_in_register_actions(def->in, actions_in); rc += cw_actionlist_out_register_actions(def->out, actions_out); rc += cw_strheap_register_strings(def->strmsg, capwap_strings_msg); rc += cw_strheap_register_strings(def->strelem, cipwap_strings_elem); // rc += cw_itemdefheap_register(def->items, _capwap_itemdefs); // rc += cw_itemdefheap_register(def->radioitems, cisco_radioitemdefs); intavltree_add(def->wbids, 0); return rc; }
/** * Register CiPWAP actions */ int cw_register_actions_cipwap_ac(struct cw_actiondef *def) { int rc; rc=cw_register_actions_capwap_ac(def); rc+=cw_actionlist_in_register_actions(def->in, cipwap_actions_ac_in); rc+=cw_actionlist_out_register_actions(def->out, cipwap_actions_ac_out); rc+=cw_strheap_register_strings(def->strelem,cipwap_strings_elem); return rc; }
int capwap_register_actions_wtp(struct cw_actiondef *def) { def->in = cw_actionlist_in_create(); def->out = cw_actionlist_out_create(); def->strmsg = cw_strheap_create(); def->strelem = cw_strheap_create(); def->items = cw_itemdefheap_create(); def->radioitems = cw_itemdefheap_create(); int rc; rc = cw_actionlist_in_register_actions(def->in, actions_in); rc += cw_actionlist_out_register_actions(def->out, actions_out); rc += cw_strheap_register_strings(def->strmsg, capwap_strings_msg); rc += cw_strheap_register_strings(def->strelem, capwap_strings_elem); rc += cw_itemdefheap_register(def->items,capwap_itemdefs); // rc += cw_itemdefheap_register(def->radioitems,capwap_radioitemdefs); return rc; }
int capwap80211_register_actions_wtp(struct cw_actiondef *def) { int rc; rc=cw_actionlist_in_register_actions(def->in, actions_wtp_in); rc+=cw_actionlist_out_register_actions(def->out, actions_out); rc+= cw_strheap_register_strings(def->strelem, capwap_strings_elem80211); rc += cw_itemdefheap_register(def->items,capwap80211_itemdefs); rc += cw_itemdefheap_register(def->radioitems,capwap80211_radioitemdefs); /*rc += cw_strheap_register_strings(def->strelem, capwap_strings_elem); */ return rc; }