src/network/core/core.h
changeset 6247 7d81e3a5d803
parent 6121 2aae24b0881f
child 6248 e4a2ed7e5613
equal deleted inserted replaced
6246:75451000349d 6247:7d81e3a5d803
    10 #ifdef ENABLE_NETWORK
    10 #ifdef ENABLE_NETWORK
    11 
    11 
    12 #include "os_abstraction.h"
    12 #include "os_abstraction.h"
    13 #include "../../newgrf_config.h"
    13 #include "../../newgrf_config.h"
    14 
    14 
    15 bool NetworkCoreInitialize(void);
    15 bool NetworkCoreInitialize();
    16 void NetworkCoreShutdown(void);
    16 void NetworkCoreShutdown();
    17 
    17 
    18 /** Status of a network client; reasons why a client has quit */
    18 /** Status of a network client; reasons why a client has quit */
    19 typedef enum {
    19 typedef enum {
    20 	NETWORK_RECV_STATUS_OKAY,             ///< Everything is okay
    20 	NETWORK_RECV_STATUS_OKAY,             ///< Everything is okay
    21 	NETWORK_RECV_STATUS_DESYNC,           ///< A desync did occur
    21 	NETWORK_RECV_STATUS_DESYNC,           ///< A desync did occur