summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-10-02 16:38:54 +0200
committerCoren[m] <Break@Ocean>2013-10-02 16:38:54 +0200
commit2af0d43ce885880d8b8c63d0c2c4a2c56545f3d5 (patch)
treeff43ee6c709831948c991451d32613b58c7d75b1 /toxcore/net_crypto.c
parentb9bffced7c75dc059ede6187cbefb773a2061e8f (diff)
Add tox_wait() for socket, allow tox.h include in tox.c
tox.*, Messenger.*, network.*; - new function tox_wait() => waitMessenger() => networking_wait(): - waits for a given amount of time for any sort of socket activity - mustn't change anything inside, mustn't poll or do other stuff - the point is to be able to call this asynchronously from a second thread - the outside shall follow up with an immediate tox_do() when there's socket activity tox.*: - allow inclusion of tox.h into tox.c, ensuring that the outside interface and the internal always match util.c: - squished a few warnings about questionable format strings
Diffstat (limited to 'toxcore/net_crypto.c')
0 files changed, 0 insertions, 0 deletions