functions to andle items.
FossilOrigin-Name: f73bd4745a9010bfe03cff912c9a8e095132c6c4df61a02e360de8f36f39ec63
This commit is contained in:
parent
2e5ad63544
commit
5e339914e9
23
src/capwap/item.h
Normal file
23
src/capwap/item.h
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#ifndef __CW_ITEM_H
|
||||||
|
#define __CW_ITEM_H
|
||||||
|
|
||||||
|
#include "mbag.h"
|
||||||
|
|
||||||
|
/* Definitions for CAPWAP Items */
|
||||||
|
|
||||||
|
struct cw_item {
|
||||||
|
/** ID */
|
||||||
|
uint32_t id;
|
||||||
|
/** Name of the item in cfg files */
|
||||||
|
const char * cfgname;
|
||||||
|
/** Type */
|
||||||
|
mbagtype_t type;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
struct cw_item * cw_item_get_by_name(const char *name,struct cw_item *table);
|
||||||
|
struct cw_item * cw_item_get_by_id(int id,struct cw_item *table);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user