diff options
Diffstat (limited to 'src/communication.hh')
| -rw-r--r-- | src/communication.hh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/communication.hh b/src/communication.hh index bfeeeb4..f466b9e 100644 --- a/src/communication.hh +++ b/src/communication.hh @@ -20,11 +20,12 @@ void ReleaseCommunicationThreadStack(int StackNumber); void InitCommunicationThreadStacks(void); void ExitCommunicationThreadStacks(void); -void InitLoadHistory(void); bool LagDetected(void); void NetLoad(int Amount, bool Send); void NetLoadSummary(void); void NetLoadCheck(void); +void InitLoadHistory(void); +void ExitLoadHistory(void); bool WriteToSocket(TConnection *Connection, uint8 *Buffer, int Size); bool SendLoginMessage(TConnection *Connection, int Type, const char *Message, int WaitingTime); @@ -45,4 +46,15 @@ TPlayerData *PerformRegistration(TConnection *Connection, char *PlayerName, bool HandleLogin(TConnection *Connection); bool ReceiveCommand(TConnection *Connection); +void IncrementActiveConnections(void); +void DecrementActiveConnections(void); +void CommunicationThread(int Socket); +int HandleConnection(void *Data); +bool OpenSocket(void); +int AcceptorThreadLoop(void *Unused); + +void CheckThreadlibVersion(void); +void InitCommunication(void); +void ExitCommunication(void); + #endif //TIBIA_COMMUNICATION_HH_ |
