34b0d49faf
Loading of this items is happens in mod_mod_capwap. FossilOrigin-Name: e13859ed053c66e0ff974d68b08f00312bede4d1fe1365015c879e63d4c0d58d
64 lines
1.5 KiB
C
64 lines
1.5 KiB
C
/*
|
|
This file is part of libcapwap.
|
|
|
|
libcapwap is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
libcapwap is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Foobar. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
#include "cw/cw.h"
|
|
#include "cw/action.h"
|
|
#include "cw/strheap.h"
|
|
#include "cw/radio.h"
|
|
|
|
#include "cipwap_items.h"
|
|
|
|
#include "mod_cipwap.h"
|
|
|
|
static cw_action_in_t actions_in[] = {
|
|
|
|
/* End of list */
|
|
{0, 0}
|
|
};
|
|
|
|
static cw_action_out_t actions_out[]={
|
|
|
|
/* End of list */
|
|
{0,0}
|
|
};
|
|
|
|
|
|
|
|
|
|
int cipwap_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, capwap_strings_elem);
|
|
*/
|
|
rc += cw_itemdefheap_register(def->items, cipwap_itemdefs);
|
|
rc += cw_itemdefheap_register(def->radioitems, cipwap_radioitemdefs);
|
|
|
|
/* rc += cw_itemdefheap_register(def->radioitems, capwap_radiodefs);
|
|
intavltree_add(def->wbids, 0);
|
|
*/
|
|
|
|
|
|
return rc;
|
|
}
|