Inital commit.
FossilOrigin-Name: b3ef22da9ecd9b24758898b2edd95837143ee91b34f3529975873ef42f7e3e4e
This commit is contained in:
22
src/capwap/aciplist.h
Normal file
22
src/capwap/aciplist.h
Normal file
@ -0,0 +1,22 @@
|
||||
#ifndef __ACIPLIST_H
|
||||
#define __ACIPLIST_H
|
||||
|
||||
#include "avltree.h"
|
||||
|
||||
struct cw_acip{
|
||||
struct sockaddr_storage ip;
|
||||
int wtp_count;
|
||||
};
|
||||
|
||||
typedef struct cw_acip cw_acip_t;
|
||||
|
||||
typedef struct avltree * cw_aciplist_t;
|
||||
|
||||
extern cw_aciplist_t cw_aciplist_create();
|
||||
|
||||
#define cw_aciplist_destroy(l) avltree_destroy(l)
|
||||
#define cw_aciplist_add(l,elem) avltree_add(l,elem)
|
||||
#define cw_aciplist_foreach(l,callback,cbpriv) avltree_foreach_asc(l,callback,cbpriv)
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user