aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/net_gmsv.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/net_gmsv.h
downloadopenparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz
openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip
initial importHEADmain
Diffstat (limited to 'src/parsec/include/net_gmsv.h')
-rw-r--r--src/parsec/include/net_gmsv.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/parsec/include/net_gmsv.h b/src/parsec/include/net_gmsv.h
new file mode 100644
index 0000000..7a2c25c
--- /dev/null
+++ b/src/parsec/include/net_gmsv.h
@@ -0,0 +1,46 @@
+/*
+ * PARSEC HEADER: net_gmsv.h
+ */
+
+#ifndef _NET_GMSV_H_
+#define _NET_GMSV_H_
+
+
+// net_gmsv.c implements the following functions
+// ---------------------------------------------
+// int NETs_Connect( char *server );
+// int NETs_Disconnect();
+// int NETs_Join();
+// int NETs_Unjoin( byte flag );
+// int NETs_UpdateName();
+// void NETs_MaintainNet();
+
+
+#ifdef DBIND_PROTOCOL
+
+ #undef NETs_Connect
+ #undef NETs_Disconnect
+ #undef NETs_Join
+ #undef NETs_Unjoin
+ #undef NETs_UpdateName
+ #undef NETs_MaintainNet
+
+ #define NETs_Connect NETs_GAMESERVER_Connect
+ #define NETs_Disconnect NETs_GAMESERVER_Disconnect
+ #define NETs_Join NETs_GAMESERVER_Join
+ #define NETs_Unjoin NETs_GAMESERVER_Unjoin
+ #define NETs_UpdateName NETs_GAMESERVER_UpdateName
+ #define NETs_MaintainNet NETs_GAMESERVER_MaintainNet
+
+#endif // DBIND_PROTOCOL
+
+
+// external functions ---------------------------------------------------------
+//
+void NET_ProcPacketLoop_GMSV( NetPacket* int_gamepacket, int bufid );
+void NET_ProcPacketLoop_Disconnected_GMSV( NetPacket* int_gamepacket, int bufid );
+
+
+#endif // _NET_GMSV_H_
+
+