QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cmd.h File Reference
This graph shows which files directly or indirectly include this file:

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_sCmd_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_scmd_args
 
cmd_source_t cmd_source
 
struct cvar_scmd_warncmd