summaryrefslogtreecommitdiff
path: root/src/net/ip.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-26 21:59:27 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-26 22:28:22 -0700
commit2f4fc005937e75d931eb6ef87a3fe16364d45113 (patch)
tree2a60ea7b58e9a3045ec0e0754e075ae958e46409 /src/net/ip.hpp
parentf5fcb973cfad6221264a2a859f5236c3cef2c470 (diff)
downloadtmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.gz
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.bz2
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.xz
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.zip
Stick everything in a namespace
Diffstat (limited to 'src/net/ip.hpp')
-rw-r--r--src/net/ip.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ip.hpp b/src/net/ip.hpp
index 42a4689..9afc691 100644
--- a/src/net/ip.hpp
+++ b/src/net/ip.hpp
@@ -28,6 +28,9 @@
# include "../strings/fwd.hpp"
+
+namespace tmwa
+{
// TODO - in the long run ports belong here also
// and of course, IPv6 stuff.
// But what about unix socket addresses?
@@ -161,5 +164,6 @@ VString<31> convert_for_printf(IP4Mask m);
bool extract(XString str, IP4Address *iv);
bool extract(XString str, IP4Mask *iv);
+} // namespace tmwa
#endif // TMWA_NET_IP_HPP