functions to andle items.

FossilOrigin-Name: f73bd4745a9010bfe03cff912c9a8e095132c6c4df61a02e360de8f36f39ec63
This commit is contained in:
7u83@mail.ru 2015-04-29 17:28:06 +00:00
parent 2e5ad63544
commit 5e339914e9
1 changed files with 23 additions and 0 deletions

23
src/capwap/item.h Normal file
View 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