]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.h
don't call ODE dWorldQuickStep with 0 step time
[xonotic/darkplaces.git] / lhnet.h
diff --git a/lhnet.h b/lhnet.h
index 701045e3aa384372275c79de522ef89a0fc85ac3..518ccdf91566a5bda09fa5fe27776b7ed7d5a40f 100644 (file)
--- a/lhnet.h
+++ b/lhnet.h
@@ -9,7 +9,7 @@ typedef enum lhnetaddresstype_e
        LHNETADDRESSTYPE_NONE,
        LHNETADDRESSTYPE_LOOP,
        LHNETADDRESSTYPE_INET4,
-       LHNETADDRESSTYPE_INET6,
+       LHNETADDRESSTYPE_INET6
 }
 lhnetaddresstype_t;
 
@@ -25,7 +25,7 @@ int LHNETADDRESS_FromPort(lhnetaddress_t *address, lhnetaddresstype_t addresstyp
 int LHNETADDRESS_FromString(lhnetaddress_t *address, const char *string, int defaultport);
 int LHNETADDRESS_ToString(const lhnetaddress_t *address, char *string, int stringbuffersize, int includeport);
 int LHNETADDRESS_GetAddressType(const lhnetaddress_t *address);
-const char *LHNETADDRESS_GetInterfaceName(const lhnetaddress_t *address);
+const char *LHNETADDRESS_GetInterfaceName(const lhnetaddress_t *address, char *ifname, size_t ifnamelength);
 int LHNETADDRESS_GetPort(const lhnetaddress_t *address);
 int LHNETADDRESS_SetPort(lhnetaddress_t *address, int port);
 int LHNETADDRESS_Compare(const lhnetaddress_t *address1, const lhnetaddress_t *address2);