summaryrefslogtreecommitdiff
path: root/core/util.h
diff options
context:
space:
mode:
authorplutooo <tfy12vbr@student.lu.se>2013-08-05 12:51:58 -0700
committerplutooo <tfy12vbr@student.lu.se>2013-08-05 12:51:58 -0700
commit071ac463082646189ade6e31bb3f6051516f81b2 (patch)
treeb9726cb351a9bcf21a0373bd561c72d72d543c60 /core/util.h
parentf0397ebb2b85100e2ac1b2d3a377ba012ab53240 (diff)
core: Rewrote ping-module, better performance and cleaner code.
Diffstat (limited to 'core/util.h')
-rw-r--r--core/util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/util.h b/core/util.h
new file mode 100644
index 00000000..aab2ead9
--- /dev/null
+++ b/core/util.h
@@ -0,0 +1,10 @@
1/*
2 * util.h -- Utilities.
3 *
4 * This file is donated to the Tox Project.
5 * Copyright 2013 plutooo
6 */
7
8uint64_t now();
9uint64_t random_64b();
10bool ipp_eq(IP_Port a, IP_Port b);