diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 00:36:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 00:36:07 +0000 |
commit | d7336f351d9740fc4bfc1289c2b090a0f272d201 (patch) | |
tree | 6146e8b695945f64503050968c3d83c3aa34cfd6 /src/inspsocket.cpp | |
parent | ad3c37e38c6c170c1f7cc3232db748ebdc62aa94 (diff) |
Move the socket functions like insp_ntoa into their own namespace. They arent really sensible to put into a class, but namespacing them out discourages developers from directly using them without explicitly saing 'using irc::sockets::BindPorts' or whatever first. Some functions such as insp_ntoa are already 'exposed' by headers that use them so 'using irc::sockets::inet_ntoa' isnt required.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4828 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r-- | src/inspsocket.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 6a0fbc556..187a5265d 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -28,6 +28,10 @@ #include "message.h" #include "inspircd.h" +using irc::sockets::BindSocket; +using irc::sockets::OpenTCPSocket; +using irc::sockets::insp_inaddr; +using irc::sockets::insp_sockaddr; extern time_t TIME; extern Server* MyServer; |