src/network/network_udp.h
author skidd13
Mon, 02 Jun 2008 14:27:58 +0000
changeset 10809 5e1189c1df5c
parent 10429 1b99254f9607
permissions -rw-r--r--
(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()
2186
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1329
diff changeset
     1
/* $Id$ */
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1329
diff changeset
     2
10429
1b99254f9607 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents: 6573
diff changeset
     3
/** @file network_udp.h Sending and receiving UDP messages. */
1b99254f9607 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents: 6573
diff changeset
     4
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
     5
#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
     6
#define NETWORK_UDP_H
543
e3b43338096b (svn r942) -Merged branch/network back into the trunk
truelight
parents:
diff changeset
     7
774
258c11431acb (svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents: 765
diff changeset
     8
#ifdef ENABLE_NETWORK
258c11431acb (svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents: 765
diff changeset
     9
6573
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6167
diff changeset
    10
void NetworkUDPInitialize();
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6167
diff changeset
    11
void NetworkUDPSearchGame();
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6167
diff changeset
    12
void NetworkUDPQueryMasterServer();
6167
1475cf991e66 (svn r8543) -Codechange: make a real difference between querying the server via UDP and TCP.
rubidium
parents: 5870
diff changeset
    13
void NetworkUDPQueryServer(const char* host, unsigned short port, bool manually = false);
6573
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6167
diff changeset
    14
void NetworkUDPAdvertise();
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6167
diff changeset
    15
void NetworkUDPRemoveAdvertise();
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6167
diff changeset
    16
void NetworkUDPShutdown();
543
e3b43338096b (svn r942) -Merged branch/network back into the trunk
truelight
parents:
diff changeset
    17
4830
0ff2a14e90be (svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents: 2436
diff changeset
    18
#endif /* ENABLE_NETWORK */
774
258c11431acb (svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
darkvater
parents: 765
diff changeset
    19
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
    20
#endif /* NETWORK_UDP_H */