diff options
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 1f251085..8a564e6b 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -723,6 +723,13 @@ void tox_save(const Tox *tox, uint8_t *data); | |||
723 | */ | 723 | */ |
724 | int tox_load(Tox *tox, const uint8_t *data, uint32_t length); | 724 | int tox_load(Tox *tox, const uint8_t *data, uint32_t length); |
725 | 725 | ||
726 | /* Perform connections after messenger has been loaded from file. | ||
727 | * | ||
728 | * returns 0 on success | ||
729 | * returns -1 on failure | ||
730 | */ | ||
731 | int tox_connect(Tox *tox); | ||
732 | |||
726 | #ifdef __cplusplus | 733 | #ifdef __cplusplus |
727 | } | 734 | } |
728 | #endif | 735 | #endif |