]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/constants.h
Prepare for assimilating msphttp
[libs/net.git] / source / net / constants.h
diff --git a/source/net/constants.h b/source/net/constants.h
new file mode 100644 (file)
index 0000000..0d94661
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef MSP_NET_CONSTANTS_H_
+#define MSP_NET_CONSTANTS_H_
+
+namespace Msp {
+namespace Net {
+
+enum Family
+{
+       UNSPEC,
+       INET,
+       INET6,
+       UNIX
+};
+
+int family_to_sys(Family);
+Family family_from_sys(int);
+
+} // namespace Net
+} // namespace Msp
+
+#endif