diff options
author | saneki <fake.saneki@gmail.com> | 2015-02-27 11:58:00 -0600 |
---|---|---|
committer | saneki <fake.saneki@gmail.com> | 2015-02-27 11:58:00 -0600 |
commit | 6e8762b30a17b515deb74c62a3a98db4206d363e (patch) | |
tree | 1e2ba37080528bec3001f5a70fd39d28cffd629a /toxcore/network.h | |
parent | c5b03cdd9a5c24d31870dfd474507a097f93b60b (diff) |
Allow for specifying the port range to use in Tox_Options
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index 15e1c0a4..0e7e5948 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -364,6 +364,7 @@ void networking_poll(Networking_Core *net); | |||
364 | * return NULL if there are problems. | 364 | * return NULL if there are problems. |
365 | */ | 365 | */ |
366 | Networking_Core *new_networking(IP ip, uint16_t port); | 366 | Networking_Core *new_networking(IP ip, uint16_t port); |
367 | Networking_Core *new_networking_ex(IP ip, uint16_t port_from, uint16_t port_to); | ||
367 | 368 | ||
368 | /* Function to cleanup networking stuff (doesn't do much right now). */ | 369 | /* Function to cleanup networking stuff (doesn't do much right now). */ |
369 | void kill_networking(Networking_Core *net); | 370 | void kill_networking(Networking_Core *net); |