summaryrefslogtreecommitdiffstats
path: root/lib/ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ip.h')
-rw-r--r--lib/ip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ip.h b/lib/ip.h
index 5bf56fc..2e9c8a5 100644
--- a/lib/ip.h
+++ b/lib/ip.h
@@ -43,4 +43,11 @@
#define ip_is_prefix(a,l) (!ipa_nonzero(ipa_and(a, ipa_not(ipa_mkmask(l)))))
+/*
+ * Conversions between internal and string representation
+ */
+
+char *ip_ntop(ip_addr a, char *);
+char *ip_ntox(ip_addr a, char *);
+
#endif