]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_wipx.h
currenttriangle and currentvertex no longer exist, also firstvert and firsttriangle...
[xonotic/darkplaces.git] / net_wipx.h
index ed82dc1d97c658b5b02df7266256069bc855383a..c5983530d15427f644c9c9cb2bc83f81847a710d 100644 (file)
@@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // net_wipx.h
 
+#ifndef NET_WIPX_H
+#define NET_WIPX_H
+
 int  WIPX_Init (void);
 void WIPX_Shutdown (void);
 void WIPX_Listen (qboolean state);
@@ -26,9 +29,9 @@ int  WIPX_OpenSocket (int port);
 int  WIPX_CloseSocket (int socket);
 int  WIPX_Connect (int socket, struct qsockaddr *addr);
 int  WIPX_CheckNewConnections (void);
-int  WIPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
-int  WIPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
-int  WIPX_Broadcast (int socket, byte *buf, int len);
+int  WIPX_Read (int socket, qbyte *buf, int len, struct qsockaddr *addr);
+int  WIPX_Write (int socket, qbyte *buf, int len, struct qsockaddr *addr);
+int  WIPX_Broadcast (int socket, qbyte *buf, int len);
 char *WIPX_AddrToString (struct qsockaddr *addr);
 int  WIPX_StringToAddr (char *string, struct qsockaddr *addr);
 int  WIPX_GetSocketAddr (int socket, struct qsockaddr *addr);
@@ -37,3 +40,6 @@ int  WIPX_GetAddrFromName (char *name, struct qsockaddr *addr);
 int  WIPX_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2);
 int  WIPX_GetSocketPort (struct qsockaddr *addr);
 int  WIPX_SetSocketPort (struct qsockaddr *addr, int port);
+
+#endif
+