QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Command buffer management.

Data Structures

struct  cbuf_args_s
 
struct  cbuf_interpreter_s
 
struct  cbuf_s
 

Typedefs

typedef struct cbuf_args_s cbuf_args_t
 
typedef struct cbuf_interpreter_s cbuf_interpreter_t
 
typedef struct cbuf_s cbuf_t
 

Enumerations

enum  {
  CBUF_STATE_NORMAL = 0, CBUF_STATE_WAIT, CBUF_STATE_BLOCKED, CBUF_STATE_ERROR,
  CBUF_STATE_STACK, CBUF_STATE_JUNK
}
 

Functions

void Cbuf_AddText (cbuf_t *cbuf, const char *text)
 
void Cbuf_ArgsAdd (cbuf_args_t *args, const char *arg)
 
void Cbuf_ArgsDelete (cbuf_args_t *)
 
cbuf_args_tCbuf_ArgsNew (void)
 
void Cbuf_Delete (cbuf_t *cbuf)
 
void Cbuf_DeleteStack (cbuf_t *stack)
 
void Cbuf_Execute (cbuf_t *cbuf)
 
void Cbuf_Execute_Sets (cbuf_t *cbuf)
 
void Cbuf_Execute_Stack (cbuf_t *cbuf)
 
void Cbuf_InsertText (cbuf_t *cbuf, const char *text)
 
cbuf_tCbuf_New (cbuf_interpreter_t *interp)
 
cbuf_tCbuf_PushStack (cbuf_interpreter_t *interp)
 
void Cbuf_Reset (cbuf_t *cbuf)
 
const char * COM_Parse (const char *data)
 
void COM_TokenizeString (const char *str, struct cbuf_args_s *args)
 

Variables

cbuf_tcbuf_active
 
const char * com_token
 
struct cbuf_interpreter_s id_interp
 

Detailed Description

Typedef Documentation

typedef struct cbuf_args_s cbuf_args_t
typedef struct cbuf_s cbuf_t

Enumeration Type Documentation

anonymous enum
Enumerator
CBUF_STATE_NORMAL 
CBUF_STATE_WAIT 
CBUF_STATE_BLOCKED 
CBUF_STATE_ERROR 
CBUF_STATE_STACK 
CBUF_STATE_JUNK 

Function Documentation

void Cbuf_AddText ( cbuf_t cbuf,
const char *  text 
)
void Cbuf_ArgsAdd ( cbuf_args_t args,
const char *  arg 
)
void Cbuf_ArgsDelete ( cbuf_args_t )
cbuf_args_t* Cbuf_ArgsNew ( void  )
void Cbuf_Delete ( cbuf_t cbuf)
void Cbuf_DeleteStack ( cbuf_t stack)
void Cbuf_Execute ( cbuf_t cbuf)
void Cbuf_Execute_Sets ( cbuf_t cbuf)
void Cbuf_Execute_Stack ( cbuf_t cbuf)
void Cbuf_InsertText ( cbuf_t cbuf,
const char *  text 
)
cbuf_t* Cbuf_New ( cbuf_interpreter_t interp)
cbuf_t* Cbuf_PushStack ( cbuf_interpreter_t interp)
void Cbuf_Reset ( cbuf_t cbuf)
const char* COM_Parse ( const char *  data)
void COM_TokenizeString ( const char *  str,
struct cbuf_args_s args 
)

Variable Documentation

cbuf_t* cbuf_active
const char* com_token
struct cbuf_interpreter_s id_interp