diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2016-12-08 03:03:04 -0500 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2016-12-14 21:48:21 -0500 |
commit | 68be33840a6a9b2677a6ab43068689c8e572e832 (patch) | |
tree | 8a0370fe510cdac359696843f0b1f139ec5641b4 /toxcore/tox.api.h | |
parent | bbdd7982563b7d8f89fcd3b7297b5fbdf21fc57f (diff) |
Add option to disable local peer discovery
Diffstat (limited to 'toxcore/tox.api.h')
-rw-r--r-- | toxcore/tox.api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toxcore/tox.api.h b/toxcore/tox.api.h index 8cc35b8b..ee70bbd9 100644 --- a/toxcore/tox.api.h +++ b/toxcore/tox.api.h | |||
@@ -469,6 +469,13 @@ static class options { | |||
469 | */ | 469 | */ |
470 | bool udp_enabled; | 470 | bool udp_enabled; |
471 | 471 | ||
472 | /** | ||
473 | * Enable local network peer discovery. | ||
474 | * | ||
475 | * Disabling this will cause Tox to not look for peers on the local network. | ||
476 | */ | ||
477 | bool local_discovery_enabled; | ||
478 | |||
472 | namespace proxy { | 479 | namespace proxy { |
473 | /** | 480 | /** |
474 | * Pass communications through a proxy. | 481 | * Pass communications through a proxy. |