X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fcommand%2Fgeneric.qh;h=a61986a8fb14f0739dfa7bb242ec726e55ae2dee;hb=3bc58a45f32841ecde5913aa899172e3093b63a6;hp=6fa7d382209bd66f10c5e12e667fb59d941ac80e;hpb=49e47ad10d83c939eca33d2c5f542d01c7da2b3e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/command/generic.qh b/qcsrc/common/command/generic.qh index 6fa7d3822..a61986a8f 100644 --- a/qcsrc/common/command/generic.qh +++ b/qcsrc/common/command/generic.qh @@ -4,14 +4,19 @@ // ========================================================= // Used by other game command systems for common commands, -// and it returns true if handled, false if not. +// and it returns true if handled, false if not. // Note: It tokenizes its input, so be careful! float GenericCommand(string command); // Returns command prefix specific for whatever program it is compiled in -string GetProgramCommandPrefix(void); +string GetProgramCommandPrefix(void); // used by common/command/generic.qc:GenericCommand_dumpcommands to list all commands into a .txt file #define CMD_Write(s) fputs(fh, s) #define CMD_Write_Alias(execute,command,description) CMD_Write(sprintf("alias %-20s \"%-13s %-20s ${* ?}\" // %s\n", command, execute, command, description)) void GenericCommand_macro_write_aliases(float fh); + +void Curl_URI_Get_Callback(float id, float status, string data); +float curl_uri_get_pos; +float curl_uri_get_exec[URI_GET_CURL_END - URI_GET_CURL + 1]; +string curl_uri_get_cvar[URI_GET_CURL_END - URI_GET_CURL + 1];