X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=lhnet.h;h=1644fb17f2da7a237f8e2bf522b6d8678d886e45;hp=518ccdf91566a5bda09fa5fe27776b7ed7d5a40f;hb=e2e22c8380e0e9e6be93a25ebf201ca932a8b7bc;hpb=cfee52a1ec9db338098789cae89ae5cf1f7a6fbf diff --git a/lhnet.h b/lhnet.h index 518ccdf9..1644fb17 100644 --- a/lhnet.h +++ b/lhnet.h @@ -1,9 +1,11 @@ -// Written by Forest Hale 2003-06-15 and placed into public domain. +// Written by Ashley Rose Hale (LadyHavoc) 2003-06-15 and placed into public domain. #ifndef LHNET_H #define LHNET_H +#include + typedef enum lhnetaddresstype_e { LHNETADDRESSTYPE_NONE, @@ -40,6 +42,7 @@ lhnetsocket_t; void LHNET_Init(void); void LHNET_Shutdown(void); +int LHNET_DefaultDSCP(int dscp); // < 0: query; >= 0: set (returns previous value) void LHNET_SleepUntilPacket_Microseconds(int microseconds); lhnetsocket_t *LHNET_OpenSocket_Connectionless(lhnetaddress_t *address); void LHNET_CloseSocket(lhnetsocket_t *lhnetsocket);