chiark / gitweb /
resolved: add LLMNR support for looking up names
[elogind.git] / src / shared / in-addr-util.h
index aae1f16608bc286c9131ffccf92412891e5d9832..6cfdb14a895b94113d35c827cd872cf5018bdf26 100644 (file)
@@ -43,3 +43,6 @@ static inline size_t FAMILY_ADDRESS_SIZE(int family) {
         assert(family == AF_INET || family == AF_INET6);
         return family == AF_INET6 ? 16 : 4;
 }
+
+const char* family_to_string(int i) _const_;
+int family_from_string(const char *s) _pure_;