diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-23 10:34:10 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-23 10:34:10 -0400 |
commit | 0f77a2d131ca0b96e9b6c6e2e516ed0d47884e27 (patch) | |
tree | 6721c03008a418ad007fb3d48488bc070a0c43b6 /core | |
parent | 658bfab41ee4aaca7498830c8e6b62ba9923ebd7 (diff) |
Added tox_ to 2 typedefs.
Diffstat (limited to 'core')
-rw-r--r-- | core/tox.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 | ||
46 | typedef struct { | 46 | typedef 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 */ |
54 | enum { | 54 | enum { |
@@ -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 */ |
255 | void tox_bootstrap(Tox *tox, IP_Port ip_port, uint8_t *public_key); | 255 | void 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 */ |