author | rubidium |
Thu, 27 Dec 2007 13:35:39 +0000 | |
changeset 8640 | 1e93b81e96d2 |
parent 6573 | 7624f942237f |
child 10429 | 1b99254f9607 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
2436
177cb6a8339f
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents:
2186
diff
changeset
|
3 |
#ifndef NETWORK_UDP_H |
177cb6a8339f
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents:
2186
diff
changeset
|
4 |
#define NETWORK_UDP_H |
543
e3b43338096b
(svn r942) -Merged branch/network back into the trunk
truelight
parents:
diff
changeset
|
5 |
|
774
258c11431acb
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
6 |
#ifdef ENABLE_NETWORK |
258c11431acb
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
7 |
|
6573 | 8 |
void NetworkUDPInitialize(); |
9 |
void NetworkUDPSearchGame(); |
|
10 |
void NetworkUDPQueryMasterServer(); |
|
6167
1475cf991e66
(svn r8543) -Codechange: make a real difference between querying the server via UDP and TCP.
rubidium
parents:
5870
diff
changeset
|
11 |
void NetworkUDPQueryServer(const char* host, unsigned short port, bool manually = false); |
6573 | 12 |
void NetworkUDPAdvertise(); |
13 |
void NetworkUDPRemoveAdvertise(); |
|
14 |
void NetworkUDPShutdown(); |
|
543
e3b43338096b
(svn r942) -Merged branch/network back into the trunk
truelight
parents:
diff
changeset
|
15 |
|
4830
0ff2a14e90be
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
2436
diff
changeset
|
16 |
#endif /* ENABLE_NETWORK */ |
774
258c11431acb
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents:
765
diff
changeset
|
17 |
|
2436
177cb6a8339f
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents:
2186
diff
changeset
|
18 |
#endif /* NETWORK_UDP_H */ |