diff options
Diffstat (limited to 'toxcore/util.h')
-rw-r--r-- | toxcore/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/util.h b/toxcore/util.h index 71be84ca..6937f7d4 100644 --- a/toxcore/util.h +++ b/toxcore/util.h | |||
@@ -16,6 +16,10 @@ uint64_t random_64b(); | |||
16 | bool id_eq(uint8_t *dest, uint8_t *src); | 16 | bool id_eq(uint8_t *dest, uint8_t *src); |
17 | void id_cpy(uint8_t *dest, uint8_t *src); | 17 | void id_cpy(uint8_t *dest, uint8_t *src); |
18 | 18 | ||
19 | typedef int (*load_state_callback_func)(void *outer, uint8_t *data, uint32_t len, uint16_t type); | ||
20 | int load_state(load_state_callback_func load_state_callback, void *outer, | ||
21 | uint8_t *data, uint32_t length, uint16_t cookie_inner); | ||
22 | |||
19 | #undef LOGGING | 23 | #undef LOGGING |
20 | /* #define LOGGING */ | 24 | /* #define LOGGING */ |
21 | #ifdef LOGGING | 25 | #ifdef LOGGING |