discovery uses cw_DiscoveryResult struct now
FossilOrigin-Name: 0024624d719534d3a7ee07380d889b339f95f59d2b8276f96f09c07f24824553
This commit is contained in:
@ -14,9 +14,20 @@ extern int configure();
|
||||
extern int run();
|
||||
extern int changestate();
|
||||
|
||||
int cw_run_discovery(struct conn *conn, const char *acaddr, const char *bindaddr);
|
||||
|
||||
|
||||
struct cw_DiscoveryResult{
|
||||
mavl_t prio_ip;
|
||||
mavl_t prio_ac;
|
||||
mlist_t results;
|
||||
};
|
||||
|
||||
int cw_run_discovery(struct conn *conn, const char *acaddr, const char *bindaddr,
|
||||
struct cw_DiscoveryResult * dis);
|
||||
|
||||
int cw_discovery_init_results(struct cw_DiscoveryResult *dis);
|
||||
void cw_discovery_free_results(struct cw_DiscoveryResult * dis);
|
||||
|
||||
struct conn * get_conn();
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user