Xonotic
|
Go to the source code of this file.
Macros | |
#define | MIN_URL_ID URI_GET_URLLIB |
#define | NUM_URL_ID (URI_GET_URLLIB_END - URI_GET_URLLIB + 1) |
Typedefs | |
using | url_ready_func = void(entity handle, entity pass, float status) |
Functions | |
ERASEABLE void | url_fclose (entity e) |
ERASEABLE string | url_fgets (entity e) |
ERASEABLE void | url_fputs (entity e, string s) |
ERASEABLE void | url_multi_fopen (string url, float mode, url_ready_func rdy, entity pass) |
ERASEABLE void | url_single_fopen (string url, float mode, url_ready_func rdy, entity pass) |
ERASEABLE float | url_URI_Get_Callback (int id, float status, string data) |
Variables | |
const int | URI_GET_CURL = 17 |
const int | URI_GET_CURL_END = 32 |
const int | URI_GET_DISCARD = 0 |
const int | URI_GET_IPBAN = 1 |
const int | URI_GET_IPBAN_END = 16 |
const int | URI_GET_TOS = 34 |
const int | URI_GET_UPDATENOTIFICATION = 33 |
const int | URI_GET_URLLIB = 128 |
const int | URI_GET_URLLIB_END = 191 |
const float | URL_READY_CANREAD = 2 |
const float | URL_READY_CANWRITE = 1 |
const float | URL_READY_CLOSED = 0 |
const float | URL_READY_ERROR = -1 |
#define MIN_URL_ID URI_GET_URLLIB |
Definition at line 33 of file urllib.qh.
Referenced by url_fclose(), url_single_fopen(), and url_URI_Get_Callback().
#define NUM_URL_ID (URI_GET_URLLIB_END - URI_GET_URLLIB + 1) |
Definition at line 34 of file urllib.qh.
Referenced by url_fclose(), url_single_fopen(), and url_URI_Get_Callback().
Definition at line 207 of file urllib.qc.
References autocvar__urllib_nextslot, cvar_set(), ERASEABLE, error(), fclose(), ftos(), LOG_INFO, MIN_URL_ID, NULL, NUM_URL_ID, strfree, URL_FH_CURL, URL_FH_STDOUT, url_fromid, URL_READY_CLOSED, and URL_READY_ERROR.
Referenced by AdditionalServerInfo_OnGet(), MX_JLF_(), MX_Messages_(), MX_Nick_(), MX_Say_(), MX_Sync_(), MX_Typing_(), WeaponStats_ready(), and XonoticToS_OnGet().
Definition at line 287 of file urllib.qc.
References ERASEABLE, error(), fgets(), string_null, URL_FH_CURL, and URL_FH_STDOUT.
Referenced by AdditionalServerInfo_OnGet(), MX_Messages_(), MX_Sync_(), WeaponStats_ready(), and XonoticToS_OnGet().
Definition at line 312 of file urllib.qc.
References ERASEABLE, error(), fputs(), print(), URL_FH_CURL, and URL_FH_STDOUT.
Referenced by MX_JLF_(), MX_Nick_(), MX_Say_(), MX_Typing_(), and WeaponStats_ready().
Definition at line 28 of file urllib.qc.
References argv(), buf_create, entity(), ERASEABLE, error(), fabs(), LOG_INFO, LOG_INFOF, MIN_URL_ID, NULL, NUM_URL_ID, strfree, tokenizebyseparator, URL_FH_CURL, url_fromid, URL_READY_CANREAD, and URL_READY_ERROR.
Referenced by URI_Get_Callback().
const int URI_GET_CURL = 17 |
Definition at line 7 of file urllib.qh.
Referenced by Curl_URI_Get_Callback(), GenericCommand_qc_curl(), and URI_Get_Callback().
const int URI_GET_CURL_END = 32 |
Definition at line 8 of file urllib.qh.
Referenced by GenericCommand_qc_curl(), and URI_Get_Callback().
const int URI_GET_DISCARD = 0 |
Definition at line 4 of file urllib.qh.
Referenced by OnlineBanList_SendBan(), OnlineBanList_SendUnban(), and URI_Get_Callback().
const int URI_GET_IPBAN = 1 |
Definition at line 5 of file urllib.qh.
Referenced by OnlineBanList_Think(), OnlineBanList_URI_Get_Callback(), and URI_Get_Callback().
const int URI_GET_IPBAN_END = 16 |
Definition at line 6 of file urllib.qh.
Referenced by URI_Get_Callback().
const int URI_GET_UPDATENOTIFICATION = 33 |
Definition at line 9 of file urllib.qh.
Referenced by updateCheck(), and URI_Get_Callback().
const float URL_READY_CANREAD = 2 |
Definition at line 17 of file urllib.qh.
Referenced by AdditionalServerInfo_OnGet(), MX_Messages_(), MX_Sync_(), url_single_fopen(), url_URI_Get_Callback(), WeaponStats_ready(), and XonoticToS_OnGet().
const float URL_READY_CANWRITE = 1 |
Definition at line 16 of file urllib.qh.
Referenced by MX_JLF_(), MX_Nick_(), MX_Say_(), MX_Typing_(), url_single_fopen(), and WeaponStats_ready().
const float URL_READY_CLOSED = 0 |
Definition at line 15 of file urllib.qh.
Referenced by AdditionalServerInfo_OnGet(), MX_Messages_(), MX_Sync_(), url_fclose(), WeaponStats_ready(), and XonoticToS_OnGet().
const float URL_READY_ERROR = -1 |
Definition at line 14 of file urllib.qh.
Referenced by AdditionalServerInfo_OnGet(), url_fclose(), url_multi_fopen(), url_multi_ready(), url_single_fopen(), url_URI_Get_Callback(), WeaponStats_ready(), and XonoticToS_OnGet().