cmdline.h File Reference

Go to the source code of this file.

Data Structures

struct  cli_commandset

Defines

#define BOOL   int
#define FALSE   0
#define TRUE   1

Typedefs

typedef BOOL command_t (const char *tail)

Functions

void cli_add_commandset (struct cli_commandset *cmds)
const char * cli_getparam (const char *tail, char **next)
void cliMain ()


Define Documentation

#define BOOL   int

Definition at line 6 of file cmdline.h.

Referenced by cmdCp().

#define FALSE   0

Definition at line 13 of file cmdline.h.

Referenced by cmdCat(), cmdCp(), cmdMkdir(), cmdMkf(), cmdRen(), cmdRm(), and cmdTest1().

#define TRUE   1

Definition at line 10 of file cmdline.h.

Referenced by cmdCat(), cmdCp(), cmdFormat(), cmdLs(), cmdMkdir(), cmdMkf(), cmdRen(), cmdRm(), cmdSt(), and cmdTest1().


Typedef Documentation

typedef BOOL command_t(const char *tail)

Definition at line 16 of file cmdline.h.


Function Documentation

void cli_add_commandset ( struct cli_commandset cmds  ) 

Definition at line 158 of file cmdline.c.

References cli_commandset::cmd, and NULL.

Referenced by cliMain(), and main().

const char* cli_getparam ( const char *  tail,
char **  next 
)

Definition at line 21 of file cmdline.c.

References NULL.

Referenced by cmdCat(), cmdCp(), cmdFormat(), cmdMkdir(), cmdMkf(), cmdRen(), cmdRm(), cmdSt(), and cmdTest1().

void cliMain (  ) 

Definition at line 167 of file cmdline.c.

References cli_add_commandset(), and PROMPT.

Referenced by main().


Generated on Sat Mar 17 15:45:45 2007 for uffs-doc by  doxygen 1.5.0