actube/src/ac/discovery_cache.h

19 lines
497 B
C
Raw Normal View History

#ifndef __DISCOVERY_CACHE_H
#define __DISCOVERY_CACHE_H
2022-08-01 10:04:25 +02:00
#include "cw/mod.h"
struct cw_DiscoveryCache * discovery_cache_create(int len);
void discovery_cache_add(struct cw_DiscoveryCache *cache,
struct sockaddr * addr, struct cw_Mod * mod_capwap, struct cw_Mod * mod_bindings);
int discovery_cache_get(struct cw_DiscoveryCache * cache,struct sockaddr *addr,
struct cw_Mod ** modcapwap, struct cw_Mod **modbindings);
2022-08-01 10:04:25 +02:00
void discovery_cache_destroy(struct cw_DiscoveryCache * c);
#endif