Inital commit.

FossilOrigin-Name: b3ef22da9ecd9b24758898b2edd95837143ee91b34f3529975873ef42f7e3e4e
This commit is contained in:
7u83@mail.ru
2015-04-05 00:09:23 +00:00
parent fcd4b31c85
commit 412c956673
6 changed files with 359 additions and 0 deletions

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