From cdcb8b86007b6490557f1329f42c08732282c500 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 19 Jan 2014 09:44:33 -0500 Subject: Added no_replay and added some things to the docs. --- toxcore/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toxcore/util.h') 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); bool id_equal(uint8_t *dest, uint8_t *src); uint32_t id_copy(uint8_t *dest, uint8_t *src); /* return value is CLIENT_ID_SIZE */ +void host_to_net(uint8_t *num, uint16_t numbytes); +#define net_to_host(x, y) host_to_net(x, y) /* state load/save */ typedef int (*load_state_callback_func)(void *outer, uint8_t *data, uint32_t len, uint16_t type); -- cgit v1.2.3