X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Flib%2Furllib.qh;h=8918ca0a2a695df6ade44e96df9837b271adc3a4;hp=acb4077d6a49422c9f275d0ea37910d4e05d3c9c;hb=94c8a26a4c98a43135ad0c62c5d1590dbae02c16;hpb=264c9f48d418d1ebd4b5ef5868b85f92644917dc diff --git a/qcsrc/lib/urllib.qh b/qcsrc/lib/urllib.qh index acb4077d6..8918ca0a2 100644 --- a/qcsrc/lib/urllib.qh +++ b/qcsrc/lib/urllib.qh @@ -17,20 +17,20 @@ const float URL_READY_CANREAD = 2; // errors: -1, or negative HTTP status code USING(url_ready_func, void (entity handle, entity pass, float status)); -[[eraseable]] +ERASEABLE void url_single_fopen(string url, float mode, url_ready_func rdy, entity pass); -[[eraseable]] +ERASEABLE void url_fclose(entity e); -[[eraseable]] +ERASEABLE string url_fgets(entity e); -[[eraseable]] +ERASEABLE void url_fputs(entity e, string s); // returns true if handled -[[eraseable]] +ERASEABLE float url_URI_Get_Callback(int id, float status, string data); #define MIN_URL_ID URI_GET_URLLIB #define NUM_URL_ID (URI_GET_URLLIB_END - URI_GET_URLLIB + 1) -[[eraseable]] +ERASEABLE void url_multi_fopen(string url, float mode, url_ready_func rdy, entity pass);