summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 77f0be7f..f8d7975f 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -50,6 +50,8 @@ typedef struct {
50 uint16_t padding; 50 uint16_t padding;
51} tox_IP_Port; 51} tox_IP_Port;
52 52
53#define TOX_IP_IS_IPV6 0
54
53/* Errors for m_addfriend 55/* Errors for m_addfriend
54 * FAERR - Friend Add Error 56 * FAERR - Friend Add Error
55 */ 57 */
@@ -307,6 +309,7 @@ int tox_isconnected(Tox *tox);
307 * return 0 if there are problems. 309 * return 0 if there are problems.
308 */ 310 */
309Tox *tox_new(void); 311Tox *tox_new(void);
312Tox *tox_new_ex(uint8_t ipv6enabled);
310 313
311/* Run this before closing shop. 314/* Run this before closing shop.
312 * Free all datastructures. */ 315 * Free all datastructures. */