summaryrefslogtreecommitdiff
path: root/toxcore/util.h
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-09-11 00:14:20 +0200
committerCoren[m] <Break@Ocean>2013-09-11 00:14:20 +0200
commit4cf0d857bcf87ba271178e7b1734958fb93b018a (patch)
tree415ac36bb195c319418c942ffa31e8a67616818e /toxcore/util.h
parent8ba6a5ff5b05d027bc4c131b208015ea4019026b (diff)
cmdline parsing of --ipv4/6 plucked into util
Diffstat (limited to 'toxcore/util.h')
-rw-r--r--toxcore/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/util.h b/toxcore/util.h
index 71be84ca..e7be2d51 100644
--- a/toxcore/util.h
+++ b/toxcore/util.h
@@ -16,6 +16,8 @@ uint64_t random_64b();
16bool id_eq(uint8_t *dest, uint8_t *src); 16bool id_eq(uint8_t *dest, uint8_t *src);
17void id_cpy(uint8_t *dest, uint8_t *src); 17void id_cpy(uint8_t *dest, uint8_t *src);
18 18
19int cmdline_parsefor_ipv46(int argc, char **argv, uint8_t *ipv6enabled);
20
19#undef LOGGING 21#undef LOGGING
20/* #define LOGGING */ 22/* #define LOGGING */
21#ifdef LOGGING 23#ifdef LOGGING