Extend network traversal to local addresses
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
#include<stdbool.h>
|
||||
|
||||
bool net_hi_request_peercode(void *ud, void(*callback)(void*, const char *peercode));
|
||||
struct StoonPeercode;
|
||||
|
||||
bool net_hi_request_peercode(void *ud, void(*callback)(void*, struct StoonPeercode *peercode));
|
||||
bool net_hi_setup(bool host);
|
||||
void net_hi_update(double now);
|
||||
|
||||
void net_hi_add_punch(const char *peercode);
|
||||
void net_hi_add_punch(struct StoonPeercode *peercode);
|
||||
|
||||
bool net_hi_connect(const char *peercode);
|
||||
bool net_hi_connect(struct StoonPeercode *peercode);
|
||||
|
||||
Reference in New Issue
Block a user