summaryrefslogtreecommitdiff
path: root/toxcore/tox.api.h
diff options
context:
space:
mode:
authorGregory Mullen (grayhatter) <greg@grayhatter.com>2016-11-11 03:10:24 -0800
committerGregory Mullen (grayhatter) <greg@grayhatter.com>2016-11-24 17:38:34 -0800
commitad517eb1df8841db52a45c7ac9ecf5976a290d57 (patch)
tree6e0d82599a6c1b0fd819ecf84e4abc82aa41b02e /toxcore/tox.api.h
parent19711d0fd0e2c181c3fe9df692b15f57390420d1 (diff)
add NAT hole punching level to Tox API
Diffstat (limited to 'toxcore/tox.api.h')
-rw-r--r--toxcore/tox.api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/tox.api.h b/toxcore/tox.api.h
index 40031830..33481cce 100644
--- a/toxcore/tox.api.h
+++ b/toxcore/tox.api.h
@@ -519,6 +519,11 @@ static class options {
519 */ 519 */
520 uint16_t tcp_port; 520 uint16_t tcp_port;
521 521
522 /**
523 * Enables or disables UDP hole-punching in toxcore. (Default: enabled).
524 */
525 bool hole_punching_enabled;
526
522 namespace savedata { 527 namespace savedata {
523 /** 528 /**
524 * The type of savedata to load from. 529 * The type of savedata to load from.