diff options
author | plutooo <tfy12vbr@student.lu.se> | 2013-08-05 12:51:58 -0700 |
---|---|---|
committer | plutooo <tfy12vbr@student.lu.se> | 2013-08-05 12:51:58 -0700 |
commit | 071ac463082646189ade6e31bb3f6051516f81b2 (patch) | |
tree | b9726cb351a9bcf21a0373bd561c72d72d543c60 /core/util.h | |
parent | f0397ebb2b85100e2ac1b2d3a377ba012ab53240 (diff) |
core: Rewrote ping-module, better performance and cleaner code.
Diffstat (limited to 'core/util.h')
-rw-r--r-- | core/util.h | 10 |
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 | |||
8 | uint64_t now(); | ||
9 | uint64_t random_64b(); | ||
10 | bool ipp_eq(IP_Port a, IP_Port b); | ||