mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
6b96b5ffd0
disabled hardcode _networking/_network_available to zero and let the compiler handle all optimizations.
20 lines
506 B
C
20 lines
506 B
C
/* $Id$ */
|
|
|
|
#ifndef NETWORK_UDP_H
|
|
#define NETWORK_UDP_H
|
|
|
|
#ifdef ENABLE_NETWORK
|
|
|
|
void NetworkUDPInitialize(void);
|
|
bool NetworkUDPListen(SOCKET *udp, uint32 host, uint16 port, bool broadcast);
|
|
void NetworkUDPReceive(SOCKET udp);
|
|
void NetworkUDPSearchGame(void);
|
|
void NetworkUDPQueryMasterServer(void);
|
|
NetworkGameList *NetworkUDPQueryServer(const char* host, unsigned short port);
|
|
void NetworkUDPAdvertise(void);
|
|
void NetworkUDPRemoveAdvertise(void);
|
|
|
|
#endif /* ENABLE_NETWORK */
|
|
|
|
#endif /* NETWORK_UDP_H */
|