BRL-CAD
cmd.h File Reference
#include "common.h"
#include <time.h>
#include "bsocket.h"
#include "bio.h"
#include "bu/defines.h"
#include "bu/list.h"
#include "bu/log.h"
#include "bu/vls.h"
Include dependency graph for cmd.h:

Go to the source code of this file.

Data Structures

struct  bu_cmdtab
 
struct  bu_cmdhist
 
struct  bu_cmdhist_obj
 

Macros

#define BU_CMD_NULL   (int (*)(void *, int, const char **))NULL
 
#define BU_CMDHIST_NULL   (struct bu_cmdhist *)NULL
 
#define BU_CMDHIST_OBJ_NULL   (struct bu_cmdhist_obj *)NULL
 

Functions

int bu_cmd (const struct bu_cmdtab *cmds, int argc, const char *argv[], int cmd_index, void *data, int *result)
 
int bu_cmdhist_history (void *data, int argc, const char **argv)
 Prints out the command history. More...
 
int bu_cmdhist_add (void *data, int argc, const char **argv)
 Add a command to the history list. More...
 
int bu_cmdhist_curr (void *data, int argc, const char **argv)
 
int bu_cmdhist_next (void *data, int argc, const char **argv)
 
int bu_cmdhist_prev (void *data, int argc, const char **argv)