summaryrefslogtreecommitdiff
path: root/src/network/network_internal.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-19 16:37:06 +0000
committerrubidium <rubidium@openttd.org>2011-01-19 16:37:06 +0000
commite54a1f67213218f52d8e27bce3aeda5d7dc16ad9 (patch)
tree8280435b51df9d855d217e9da1c973e5b134d455 /src/network/network_internal.h
parente95718bf43a7d34868ee11002108ff0dd6e1ab2a (diff)
downloadopenttd-e54a1f67213218f52d8e27bce3aeda5d7dc16ad9.tar.xz
(svn r21853) -Codechange: HashCurrentCompanyPassword is only used by servers, so move it to network_server.* (dihedral)
Diffstat (limited to 'src/network/network_internal.h')
-rw-r--r--src/network/network_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_internal.h b/src/network/network_internal.h
index 40391a7a8..8add09f1d 100644
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -168,6 +168,7 @@ uint NetworkCalculateLag(const NetworkClientSocket *cs);
NetworkClientSocket *NetworkFindClientStateFromClientID(ClientID client_id);
StringID GetNetworkErrorMsg(NetworkErrorCode err);
bool NetworkFindName(char new_name[NETWORK_CLIENT_NAME_LENGTH]);
+const char *GenerateCompanyPasswordHash(const char *password, const char *password_server_id, uint32 password_game_seed);
#endif /* ENABLE_NETWORK */
#endif /* NETWORK_INTERNAL_H */