summaryrefslogtreecommitdiff
path: root/core/util.h
blob: b85fbd3951e279e3a72a16e2efb1575dea6dfebe (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);