summaryrefslogtreecommitdiff
path: root/src/char/inter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/inter.hpp')
-rw-r--r--src/char/inter.hpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/char/inter.hpp b/src/char/inter.hpp
index 7d1a38b..19900f9 100644
--- a/src/char/inter.hpp
+++ b/src/char/inter.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_CHAR_INTER_HPP
-#define TMWA_CHAR_INTER_HPP
+#pragma once
// inter.hpp - Internal server.
//
// Copyright © ????-2004 Athena Dev Teams
@@ -21,19 +20,19 @@
// 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 "../strings/fwd.hpp"
+#include "../strings/fwd.hpp"
-struct Session;
+#include "../net/fwd.hpp"
+
+namespace tmwa
+{
bool inter_config(XString key, ZString value);
void inter_init2();
void inter_save(void);
-int inter_parse_frommap(Session *ms);
-
-int inter_check_length(Session *ms, int length);
+RecvResult inter_parse_frommap(Session *ms, uint16_t packet_id);
extern int party_share_level;
-
-#endif // TMWA_CHAR_INTER_HPP
+} // namespace tmwa