From 5f3772a42c322a99d2ea57b6c97b76fceccbb781 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 20 Jan 2009 01:32:06 +0000 Subject: (svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again. --- src/network/network_func.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/network_func.h') diff --git a/src/network/network_func.h b/src/network/network_func.h index db3de7f8f..c2de52ca7 100644 --- a/src/network/network_func.h +++ b/src/network/network_func.h @@ -32,11 +32,11 @@ void NetworkGameLoop(); void NetworkUDPGameLoop(); void NetworkUDPCloseAll(); void ParseConnectionString(const char **company, const char **port, char *connection_string); -void NetworkStartDebugLog(const char *hostname, uint16 port); +void NetworkStartDebugLog(NetworkAddress address); void NetworkPopulateCompanyStats(NetworkCompanyStats *stats); void NetworkUpdateClientInfo(ClientID client_id); -void NetworkClientConnectGame(const char *host, uint16 port); +void NetworkClientConnectGame(NetworkAddress address); void NetworkClientSendRcon(const char *password, const char *command); void NetworkClientSendChat(NetworkAction action, DestType type, int dest, const char *msg, int64 data = 0); void NetworkClientSetPassword(const char *password); -- cgit v1.2.3-54-g00ecf