From 4cf0d857bcf87ba271178e7b1734958fb93b018a Mon Sep 17 00:00:00 2001 From: "Coren[m]" Date: Wed, 11 Sep 2013 00:14:20 +0200 Subject: cmdline parsing of --ipv4/6 plucked into util --- toxcore/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toxcore/util.h') 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(); bool id_eq(uint8_t *dest, uint8_t *src); void id_cpy(uint8_t *dest, uint8_t *src); +int cmdline_parsefor_ipv46(int argc, char **argv, uint8_t *ipv6enabled); + #undef LOGGING /* #define LOGGING */ #ifdef LOGGING -- cgit v1.2.3