|
@@ -9,22 +9,18 @@
|
|
|
|
|
|
/** @file network_udp.h Sending and receiving UDP messages. */
|
|
|
|
|
|
#ifndef NETWORK_UDP_H
|
|
|
#define NETWORK_UDP_H
|
|
|
|
|
|
#ifdef ENABLE_NETWORK
|
|
|
|
|
|
#include "core/address.h"
|
|
|
|
|
|
void NetworkUDPInitialize();
|
|
|
void NetworkUDPSearchGame();
|
|
|
void NetworkUDPQueryMasterServer();
|
|
|
void NetworkUDPQueryServer(NetworkAddress address, bool manually = false);
|
|
|
void NetworkUDPAdvertise();
|
|
|
void NetworkUDPRemoveAdvertise(bool blocking);
|
|
|
void NetworkUDPClose();
|
|
|
void NetworkBackgroundUDPLoop();
|
|
|
|
|
|
#endif /* ENABLE_NETWORK */
|
|
|
|
|
|
#endif /* NETWORK_UDP_H */
|