summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-13 18:31:51 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-14 16:16:30 +0000
commitd8fcac5b4f66efcec961cf30cb461ab9231c6a67 (patch)
tree701cbb063b502c0cedeb87641bff39cc24a6bb8f /toxcore/tox.c
parent4b54d14d9c35740140962942c48d964ee43b49ba (diff)
Make Friend_Requests a module-private type.
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index ca81cbbc..3201f74e 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -355,13 +355,13 @@ void tox_self_get_address(const Tox *tox, uint8_t *address)
355void tox_self_set_nospam(Tox *tox, uint32_t nospam) 355void tox_self_set_nospam(Tox *tox, uint32_t nospam)
356{ 356{
357 Messenger *m = tox; 357 Messenger *m = tox;
358 set_nospam(&m->fr, net_htonl(nospam)); 358 set_nospam(m->fr, net_htonl(nospam));
359} 359}
360 360
361uint32_t tox_self_get_nospam(const Tox *tox) 361uint32_t tox_self_get_nospam(const Tox *tox)
362{ 362{
363 const Messenger *m = tox; 363 const Messenger *m = tox;
364 return net_ntohl(get_nospam(&m->fr)); 364 return net_ntohl(get_nospam(m->fr));
365} 365}
366 366
367void tox_self_get_public_key(const Tox *tox, uint8_t *public_key) 367void tox_self_get_public_key(const Tox *tox, uint8_t *public_key)