diff options
author | irungentoo <irungentoo@gmail.com> | 2014-01-19 09:44:33 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-01-19 09:44:33 -0500 |
commit | cdcb8b86007b6490557f1329f42c08732282c500 (patch) | |
tree | 8e41be5a50fd122ea557f11ec445c5fc234e91a6 /toxcore/util.h | |
parent | 99ae23813b47cc5198a210c4ea8da54d8a817829 (diff) |
Added no_replay and added some things to the docs.
Diffstat (limited to 'toxcore/util.h')
-rw-r--r-- | toxcore/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/util.h b/toxcore/util.h index f05a9821..ae364d52 100644 --- a/toxcore/util.h +++ b/toxcore/util.h | |||
@@ -37,6 +37,8 @@ int is_timeout(uint64_t timestamp, uint64_t timeout); | |||
37 | bool id_equal(uint8_t *dest, uint8_t *src); | 37 | bool id_equal(uint8_t *dest, uint8_t *src); |
38 | uint32_t id_copy(uint8_t *dest, uint8_t *src); /* return value is CLIENT_ID_SIZE */ | 38 | uint32_t id_copy(uint8_t *dest, uint8_t *src); /* return value is CLIENT_ID_SIZE */ |
39 | 39 | ||
40 | void host_to_net(uint8_t *num, uint16_t numbytes); | ||
41 | #define net_to_host(x, y) host_to_net(x, y) | ||
40 | 42 | ||
41 | /* state load/save */ | 43 | /* state load/save */ |
42 | typedef int (*load_state_callback_func)(void *outer, uint8_t *data, uint32_t len, uint16_t type); | 44 | typedef int (*load_state_callback_func)(void *outer, uint8_t *data, uint32_t len, uint16_t type); |