X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Furllib.qh;h=918504ff8b64fdc44a168b7e1aae026fa5d83124;hb=278c051f3e12cc972ea8b9b7eb8ad8c09b4947cd;hp=6f196785177dc6e1617cdf5b09d2c7b5e6a80ee6;hpb=5607e279fe7b0dc9f92e15556ed6dc33f17f549c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/urllib.qh b/qcsrc/lib/urllib.qh index 6f1967851..918504ff8 100644 --- a/qcsrc/lib/urllib.qh +++ b/qcsrc/lib/urllib.qh @@ -1,8 +1,6 @@ #ifndef URLLIB_H #define URLLIB_H -#include "../common/util.qh" - // URI handles const int URI_GET_DISCARD = 0; const int URI_GET_IPBAN = 1; @@ -18,7 +16,7 @@ const float URL_READY_CLOSED = 0; const float URL_READY_CANWRITE = 1; const float URL_READY_CANREAD = 2; // errors: -1, or negative HTTP status code -typedef void(entity handle, entity pass, float status) url_ready_func; +typedef void (entity handle, entity pass, float status) url_ready_func; void url_single_fopen(string url, float mode, url_ready_func rdy, entity pass); void url_fclose(entity e);