src/network/core/core.h
changeset 6121 f254b194347f
parent 6115 c5bde03ec914
child 6123 87aa45c64f8f
--- a/src/network/core/core.h	Tue Jan 30 15:09:33 2007 +0000
+++ b/src/network/core/core.h	Tue Jan 30 17:12:46 2007 +0000
@@ -6,6 +6,7 @@
 #ifdef ENABLE_NETWORK
 
 #include "os_abstraction.h"
+#include "../../newgrf_config.h"
 
 /**
  * @file core.h Base for all network types (UDP and TCP)
@@ -27,6 +28,9 @@
 	NETWORK_RECV_STATUS_CLOSE_QUERY,      ///< Done quering the server
 } NetworkRecvStatus;
 
+/** Forward declaration due to circular dependencies */
+class Packet;
+
 /**
  * SocketHandler for all network sockets in OpenTTD.
  */
@@ -66,6 +70,9 @@
 	 * @return true when the current client has quit, false otherwise
 	 */
 	bool HasClientQuit() { return this->has_quit; }
+
+	void Send_GRFIdentifier(Packet *p, const GRFIdentifier *grf);
+	void Recv_GRFIdentifier(Packet *p, GRFIdentifier *grf);
 };
 
 #endif /* ENABLE_NETWORK */