mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
8e6a911700
- change a lot of byte player types to PlayerID - beautify header files, same "#endif /* filename */" ending
20 lines
485 B
C
20 lines
485 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
|
|
|
|
#endif /* NETWORK_UDP_H */
|