diff options
author | irungentoo <irungentoo@gmail.com> | 2015-04-27 16:13:04 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-04-27 16:13:04 -0400 |
commit | 69e3e5f3a4510e4883edecc78b5556d38cb61318 (patch) | |
tree | d3bd18907f54b1d115c628e79860221486e5cf2f /toxcore/LAN_discovery.h | |
parent | 6a1efc32e635a86b0d848d058ba152403c49bec2 (diff) |
Move LAN discovery from Messenger to friend_connection.
Diffstat (limited to 'toxcore/LAN_discovery.h')
-rw-r--r-- | toxcore/LAN_discovery.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/LAN_discovery.h b/toxcore/LAN_discovery.h index 5dffc3ad..5243bd93 100644 --- a/toxcore/LAN_discovery.h +++ b/toxcore/LAN_discovery.h | |||
@@ -37,6 +37,9 @@ int send_LANdiscovery(uint16_t port, DHT *dht); | |||
37 | /* Sets up packet handlers. */ | 37 | /* Sets up packet handlers. */ |
38 | void LANdiscovery_init(DHT *dht); | 38 | void LANdiscovery_init(DHT *dht); |
39 | 39 | ||
40 | /* Clear packet handlers. */ | ||
41 | void LANdiscovery_kill(DHT *dht); | ||
42 | |||
40 | /* checks if a given IP isn't routable | 43 | /* checks if a given IP isn't routable |
41 | * | 44 | * |
42 | * return 0 if ip is a LAN ip. | 45 | * return 0 if ip is a LAN ip. |