diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index fedf2879..649ca894 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -377,5 +377,12 @@ void Messenger_save(Messenger *m, uint8_t *data); | |||
377 | /* Load the messenger from data of size length. */ | 377 | /* Load the messenger from data of size length. */ |
378 | int Messenger_load(Messenger *m, uint8_t *data, uint32_t length); | 378 | int Messenger_load(Messenger *m, uint8_t *data, uint32_t length); |
379 | 379 | ||
380 | /* Allocate and return a list of valid friend id's. List must be freed by the | ||
381 | * caller. | ||
382 | * | ||
383 | * retun 0 if success. | ||
384 | * return -1 if failure. | ||
385 | */ | ||
386 | int get_friendlist(Messenger *m, int **out_list, uint32_t *out_list_length); | ||
380 | 387 | ||
381 | #endif | 388 | #endif |