diff options
author | Coren[m] <Break@Ocean> | 2013-09-14 10:43:09 +0200 |
---|---|---|
committer | Coren[m] <Break@Ocean> | 2013-09-14 10:43:09 +0200 |
commit | a341b259b6342962e209f1b50708abe40f1cdad2 (patch) | |
tree | 167a6809cf3d5e186a2f9ccf2da8693a3b417d89 /toxcore/util.h | |
parent | d2603cf169b1b2d860f2b851590f5ae2be01011c (diff) |
Change sublength to 32 bits. Someone might have more than (sizeof(Friends) / 65536) friends...
Diffstat (limited to 'toxcore/util.h')
-rw-r--r-- | toxcore/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toxcore/util.h b/toxcore/util.h index 41f558c1..00482862 100644 --- a/toxcore/util.h +++ b/toxcore/util.h | |||
@@ -14,7 +14,6 @@ bool ipp_eq(IP_Port a, IP_Port b); | |||
14 | bool id_eq(uint8_t *dest, uint8_t *src); | 14 | bool id_eq(uint8_t *dest, uint8_t *src); |
15 | void id_cpy(uint8_t *dest, uint8_t *src); | 15 | void id_cpy(uint8_t *dest, uint8_t *src); |
16 | 16 | ||
17 | typedef uint16_t state_length_sub_t; | ||
18 | typedef int (*load_state_callback_func)(void *outer, uint8_t *data, uint32_t len, uint16_t type); | 17 | typedef int (*load_state_callback_func)(void *outer, uint8_t *data, uint32_t len, uint16_t type); |
19 | int load_state(load_state_callback_func load_state_callback, void *outer, | 18 | int load_state(load_state_callback_func load_state_callback, void *outer, |
20 | uint8_t *data, uint32_t length, uint16_t cookie_inner); | 19 | uint8_t *data, uint32_t length, uint16_t cookie_inner); |