blob: 7a2c25cc112e079f28b86f6484750ceb157526ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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_
|