summaryrefslogtreecommitdiff
path: root/core/util.h
blob: a93be08a9411b32dc095ee1323a5854de81cffdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * 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);