From 9744a40f7aa71f874b9f3eeb3c5e7d0899c8d409 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 11 Jan 2016 11:13:04 +0100 Subject: Add tor_htonll/ntohll functions Signed-off-by: David Goulet --- src/common/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/util.h') diff --git a/src/common/util.h b/src/common/util.h index 7cb33dc680..fdf1c03b6e 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -61,6 +61,8 @@ void *tor_memdup_(const void *mem, size_t len DMALLOC_PARAMS) void *tor_memdup_nulterm_(const void *mem, size_t len DMALLOC_PARAMS) ATTR_MALLOC ATTR_NONNULL((1)); void tor_free_(void *mem); +uint64_t tor_htonll(uint64_t a); +uint64_t tor_ntohll(uint64_t a); #ifdef USE_DMALLOC extern int dmalloc_free(const char *file, const int line, void *pnt, const int func_id); -- cgit v1.2.3-54-g00ecf