src/network/network_data.cpp
changeset 8214 971f861d5543
parent 8199 3c13a496ca80
child 8247 16e1c8db6f55
equal deleted inserted replaced
8213:7bdd7593eb9b 8214:971f861d5543
     3 #ifdef ENABLE_NETWORK
     3 #ifdef ENABLE_NETWORK
     4 
     4 
     5 #include "../stdafx.h"
     5 #include "../stdafx.h"
     6 #include "../debug.h"
     6 #include "../debug.h"
     7 #include "network_data.h"
     7 #include "network_data.h"
     8 #include "../string.h"
       
     9 #include "network_client.h"
     8 #include "network_client.h"
    10 #include "../command_func.h"
     9 #include "../command_func.h"
    11 #include "../callback_table.h"
    10 #include "../callback_table.h"
    12 #include "../core/alloc_func.hpp"
    11 #include "../core/alloc_func.hpp"
       
    12 #include "../string_func.h"
    13 
    13 
    14 // Add a command to the local command queue
    14 // Add a command to the local command queue
    15 void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)
    15 void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)
    16 {
    16 {
    17 	CommandPacket* new_cp = MallocT<CommandPacket>(1);
    17 	CommandPacket* new_cp = MallocT<CommandPacket>(1);