ip adresse lists added
FossilOrigin-Name: bf409307ad51adc02fa76ebf20f686211e873d9e8969c0f964ec5fd9a3500c29
This commit is contained in:
21
src/cw/cw.h
21
src/cw/cw.h
@ -582,6 +582,27 @@ int cw_out_radio_generic(struct conn *conn, struct cw_action_out *a, uint8_t * d
|
||||
*/
|
||||
|
||||
|
||||
struct cw_ip{
|
||||
struct sockaddr_storage ip;
|
||||
uint32_t wtp_count;
|
||||
};
|
||||
|
||||
typedef struct cw_ip cw_acip_t;
|
||||
|
||||
typedef struct mavl * cw_aciplist_t;
|
||||
|
||||
extern cw_iplist_t cw_aciplist_create();
|
||||
|
||||
#define cw_aciplist_destroy(l) mavl_destroy(l)
|
||||
#define cw_aciplist_add(l,elem) mavl_add(l,elem)
|
||||
#define cw_aciplist_del(l,elem) mavl_del(l,elem)
|
||||
#define cw_aciplist_foreach(l,callback,cbpriv) mavl_foreach_asc(l,callback,cbpriv)
|
||||
#define cw_aciplist_replace(l,r) mavl_replace(l,r)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*@}
|
||||
|
Reference in New Issue
Block a user