summaryrefslogtreecommitdiff
path: root/toxcore/Makefile.inc
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-10-24 22:32:28 +0200
committerCoren[m] <Break@Ocean>2013-10-24 22:32:28 +0200
commit0a4c3d7e2e080dafd66d25f7a5806b89f7be1bcf (patch)
tree61409d905b8132bddc9142525cced3368aba0ad8 /toxcore/Makefile.inc
parente9d92606d94837ac24e2583cdfd8d313a0fd9338 (diff)
Move unix_time(), id_cpy()/id_eq(), is_timeout() to util.*
unix_time(): - returns local value for current epoch - value is updated explicitly with unix_time_update() called at new_DHT()/doMessenger()/do_DHT() is_timeout(): - uses the local value for current epoch id_cpy()/id_eq() => id_copy()/id_equal(): - centralized duplicate definitions - replaced (most) memcpy()/memcmp() of (*, *, CLIENT_ID_SIZE) with id_copy()/id_equal()
Diffstat (limited to 'toxcore/Makefile.inc')
0 files changed, 0 insertions, 0 deletions