summaryrefslogtreecommitdiff
path: root/core/util.h
blob: 5209c2ca24120f29d9b6da89588a50cc04b1aa02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * util.h -- Utilities.
 *
 * This file is donated to the Tox Project.
 * Copyright 2013  plutooo
 */

uint64_t now();
uint64_t random_64b();
bool ipp_eq(IP_Port a, IP_Port b);
bool id_eq(clientid_t *dest, clientid_t *src);
void id_cpy(clientid_t *dest, clientid_t *src);