diff options
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index 2a0b5560..15ca68e3 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -99,6 +99,12 @@ typedef struct { | |||
99 | }; | 99 | }; |
100 | } IPAny; | 100 | } IPAny; |
101 | 101 | ||
102 | /* ipany_ntoa | ||
103 | * converts ip into a string | ||
104 | * uses a static buffer, so mustn't used multiple times in the same output | ||
105 | */ | ||
106 | const char *ipany_ntoa(IPAny *ip); | ||
107 | |||
102 | typedef union { | 108 | typedef union { |
103 | struct { | 109 | struct { |
104 | IP4 ip; | 110 | IP4 ip; |