2015-04-29 19:28:06 +02:00
|
|
|
#ifndef __CW_ITEM_H
|
|
|
|
#define __CW_ITEM_H
|
|
|
|
|
|
|
|
#include "mbag.h"
|
|
|
|
|
|
|
|
/* Definitions for CAPWAP Items */
|
|
|
|
|
|
|
|
struct cw_item {
|
|
|
|
/** ID */
|
2015-05-01 00:16:54 +02:00
|
|
|
const char *id;
|
2015-04-29 19:28:06 +02:00
|
|
|
/** 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
|