diff options
author | rubidium <rubidium@openttd.org> | 2007-01-12 20:19:49 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-12 20:19:49 +0000 |
commit | f66b373b52b2daef69507c402577a1a02b65c40b (patch) | |
tree | 23bff1b129004614fd68cb0c30436a14bbe240e9 /src/network/network_client.h | |
parent | ee1021d29c6baa6380faf17e270fd5194d2b330c (diff) | |
download | openttd-f66b373b52b2daef69507c402577a1a02b65c40b.tar.xz |
(svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState.
Diffstat (limited to 'src/network/network_client.h')
-rw-r--r-- | src/network/network_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_client.h b/src/network/network_client.h index 2dd776ac1..7d50b1edd 100644 --- a/src/network/network_client.h +++ b/src/network/network_client.h @@ -17,7 +17,7 @@ DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_SET_NAME)(const char *name); DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_ACK); DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_RCON)(const char *pass, const char *command); -NetworkRecvStatus NetworkClient_ReadPackets(NetworkClientState *cs); +NetworkRecvStatus NetworkClient_ReadPackets(NetworkTCPSocketHandler *cs); void NetworkClient_Connected(void); #endif /* ENABLE_NETWORK */ |