Data Structures | |
struct | cmd_function_s |
Typedefs | |
typedef struct cmd_function_s | cmd_function_t |
typedef void(* | xcommand_t )(void) |
Enumerations | |
enum | cmd_source_t { src_client, src_command } |
Functions | |
int | Cmd_AddCommand (const char *cmd_name, xcommand_t function, const char *description) |
void | Cmd_AddProvider (const char *name, struct cbuf_interpreter_s *interp) |
int | Cmd_Argc (void) |
const char * | Cmd_Args (int start) |
const char * | Cmd_Argv (int arg) |
int | Cmd_Command (struct cbuf_args_s *args) |
const char ** | Cmd_CompleteBuildList (const char *partial) |
const char * | Cmd_CompleteCommand (const char *partial) |
int | Cmd_CompleteCountPossible (const char *partial) |
void | Cmd_Exec_File (struct cbuf_s *cbuf, const char *path, int qfs) |
int | Cmd_ExecuteString (const char *text, cmd_source_t src) |
qboolean | Cmd_Exists (const char *cmd_name) |
struct cbuf_interpreter_s * | Cmd_GetProvider (const char *name) |
void | Cmd_Init (void) |
void | Cmd_Init_Hash (void) |
int | Cmd_RemoveCommand (const char *cmd_name) |
void | Cmd_StuffCmds (struct cbuf_s *cbuf) |
Variables | |
struct cbuf_args_s * | cmd_args |
cmd_source_t | cmd_source |
struct cvar_s * | cmd_warncmd |
typedef struct cmd_function_s cmd_function_t |
typedef void(* xcommand_t)(void) |
enum cmd_source_t |
int Cmd_AddCommand | ( | const char * | cmd_name, |
xcommand_t | function, | ||
const char * | description | ||
) |
void Cmd_AddProvider | ( | const char * | name, |
struct cbuf_interpreter_s * | interp | ||
) |
int Cmd_Argc | ( | void | ) |
int Cmd_Command | ( | struct cbuf_args_s * | args | ) |
int Cmd_ExecuteString | ( | const char * | text, |
cmd_source_t | src | ||
) |
struct cbuf_interpreter_s* Cmd_GetProvider | ( | const char * | name | ) |
void Cmd_Init | ( | void | ) |
void Cmd_Init_Hash | ( | void | ) |
void Cmd_StuffCmds | ( | struct cbuf_s * | cbuf | ) |
struct cbuf_args_s* cmd_args |
cmd_source_t cmd_source |
struct cvar_s* cmd_warncmd |