Xonotic
|
#include "urllib.qh"
Go to the source code of this file.
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, int mode, url_ready_func rdy, entity pass) |
ERASEABLE void | url_multi_ready (entity fh, entity me, float status) |
ERASEABLE void | url_single_fopen (string url, int mode, url_ready_func rdy, entity pass) |
ERASEABLE float | url_URI_Get_Callback (int id, float status, string data) |
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 364 of file urllib.qc.
References argv(), entity(), LOG_INFO, new_pure, NULL, pass, strzone(), tokenize_console, url_multi_ready(), URL_READY_ERROR, and url_single_fopen().
Referenced by WeaponStats_Shutdown().
Definition at line 335 of file urllib.qc.
References argv(), ERASEABLE, LOG_INFO, strfree, tokenize_console, URL_READY_ERROR, and url_single_fopen().
Referenced by url_multi_fopen().
Definition at line 87 of file urllib.qc.
References autocvar__urllib_nextslot, buf_create, cvar_set(), entity(), ERASEABLE, FILE_APPEND, FILE_READ, FILE_WRITE, fopen(), ftos(), LOG_INFO, MIN_URL_ID, new_pure, NULL, NUM_URL_ID, pass, strfree, string_null, strstrofs, strzone(), URL_FH_CURL, URL_FH_STDOUT, url_fromid, URL_READY_CANREAD, URL_READY_CANWRITE, and URL_READY_ERROR.
Referenced by MX_Forget(), MX_Join(), MX_Leave(), MX_Messages(), MX_Nick(), MX_Say(), MX_Sync(), MX_Typing(), url_multi_fopen(), url_multi_ready(), XonoticServerToSTab_loadToS(), and XonoticToSDialog_loadXonoticToS().
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().
int autocvar__urllib_nextslot |
Definition at line 25 of file urllib.qc.
Referenced by url_fclose(), and url_single_fopen().
const float URL_FH_CURL = -1 |
Definition at line 5 of file urllib.qc.
Referenced by url_fclose(), url_fgets(), url_fputs(), url_single_fopen(), and url_URI_Get_Callback().
const float URL_FH_STDOUT = -2 |
Definition at line 6 of file urllib.qc.
Referenced by url_fclose(), url_fgets(), url_fputs(), and url_single_fopen().
entity url_fromid[NUM_URL_ID] |
Definition at line 24 of file urllib.qc.
Referenced by url_fclose(), url_single_fopen(), and url_URI_Get_Callback().
url_ready_func url_ready |