summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-23 10:34:10 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-23 10:34:10 -0400
commit0f77a2d131ca0b96e9b6c6e2e516ed0d47884e27 (patch)
tree6721c03008a418ad007fb3d48488bc070a0c43b6 /core
parent658bfab41ee4aaca7498830c8e6b62ba9923ebd7 (diff)
Added tox_ to 2 typedefs.
Diffstat (limited to 'core')
-rw-r--r--core/tox.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/tox.h b/core/tox.h
index d5e61240..099b53e1 100644
--- a/core/tox.h
+++ b/core/tox.h
@@ -41,14 +41,14 @@ typedef union {
41 uint8_t c[4]; 41 uint8_t c[4];
42 uint16_t s[2]; 42 uint16_t s[2];
43 uint32_t i; 43 uint32_t i;
44} IP; 44} tox_IP;
45 45
46typedef struct { 46typedef struct {
47 IP ip; 47 tox_IP ip;
48 uint16_t port; 48 uint16_t port;
49 /* not used for anything right now */ 49 /* not used for anything right now */
50 uint16_t padding; 50 uint16_t padding;
51} IP_Port; 51} tox_IP_Port;
52 52
53/* status definitions */ 53/* status definitions */
54enum { 54enum {
@@ -252,7 +252,7 @@ void tox_callback_connectionstatus(Tox *tox, void (*function)(Tox *tox, int, uin
252 252
253/* Use this function to bootstrap the client 253/* Use this function to bootstrap the client
254 Sends a get nodes request to the given node with ip port and public_key */ 254 Sends a get nodes request to the given node with ip port and public_key */
255void tox_bootstrap(Tox *tox, IP_Port ip_port, uint8_t *public_key); 255void tox_bootstrap(Tox *tox, tox_IP_Port ip_port, uint8_t *public_key);
256 256
257/* returns 0 if we are not connected to the DHT 257/* returns 0 if we are not connected to the DHT
258 returns 1 if we are */ 258 returns 1 if we are */