summaryrefslogtreecommitdiff
path: root/src/mmo/md5more.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mmo/md5more.hpp')
-rw-r--r--src/mmo/md5more.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mmo/md5more.hpp b/src/mmo/md5more.hpp
index b1da783..7d50713 100644
--- a/src/mmo/md5more.hpp
+++ b/src/mmo/md5more.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_MMO_MD5MORE_HPP
-#define TMWA_MMO_MD5MORE_HPP
+#pragma once
// md5more.hpp - Non-basic MD5 functions.
//
// Copyright © ????-2004 Athena Dev Teams
@@ -21,15 +20,17 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+#include "fwd.hpp"
-# include "../generic/md5.hpp"
+#include "../generic/md5.hpp"
-# include "../io/read.hpp"
+#include "../io/fwd.hpp"
-# include "ip.hpp"
-# include "mmo.hpp"
+#include "../net/fwd.hpp"
+
+namespace tmwa
+{
MD5_state MD5_from_FILE(io::ReadFile& in);
// whoever wrote this fails basic understanding of
@@ -44,5 +45,4 @@ bool pass_ok(AccountPass password, AccountCrypt crypted);
/// This returns an IP4Address because it is configurable whether it gets called at all
IP4Address MD5_ip(IP4Address ip);
-
-#endif // TMWA_MMO_MD5MORE_HPP
+} // namespace tmwa