summaryrefslogtreecommitdiff
path: root/src/network/core/host.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-04 12:56:38 +0000
committerrubidium <rubidium@openttd.org>2008-08-04 12:56:38 +0000
commitc88cb1daa05e447cdcd2daec62501869e4e12fdf (patch)
treec6e7b9351a95668e363be7d112fb1d28d04bce48 /src/network/core/host.h
parenta822e259c5cf57ad49ad7c12b9bd90f14c646ade (diff)
downloadopenttd-c88cb1daa05e447cdcd2daec62501869e4e12fdf.tar.xz
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
Diffstat (limited to 'src/network/core/host.h')
-rw-r--r--src/network/core/host.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/network/core/host.h b/src/network/core/host.h
new file mode 100644
index 000000000..9735cce84
--- /dev/null
+++ b/src/network/core/host.h
@@ -0,0 +1,12 @@
+/* $Id$ */
+
+/**
+ * @file host.h Resolving of hostnames/IPs
+ */
+
+#ifndef NETWORK_CORE_HOST_H
+
+void NetworkFindBroadcastIPs(uint32 *broadcast, int limit);
+uint32 NetworkResolveHost(const char *hostname);
+
+#endif /* NETWORK_CORE_HOST_H */