Routine(s) for processing subcommands. More...

#include "common.h"
#include <string.h>
#include "bu/cmd.h"
#include "bu/str.h"
Include dependency graph for cmd.c:

Go to the source code of this file.


int bu_cmd (const struct bu_cmdtab *cmds, int argc, const char **argv, int cmd_index, void *data, int *retval)

Detailed Description

Routine(s) for processing subcommands.

Definition in file cmd.c.

Function Documentation

int bu_cmd ( const struct bu_cmdtab cmds,
int  argc,
const char **  argv,
int  cmd_index,
void *  data,
int *  retval 

Definition at line 30 of file cmd.c.

References BRLCAD_ERROR, BRLCAD_OK, bu_log(), BU_STR_EQUAL, bu_cmdtab::ct_func, bu_cmdtab::ct_name, data, and UNLIKELY.

Here is the call graph for this function: