Go to the source code of this file.
Classes | |
struct | Enum_T |
Defines | |
#define | CMD_H |
Enumerations | |
enum | CommandType { CMDDOUBLETYPE = 1, CMDENUMTYPE, CMDINTTYPE, CMDSTRINGTYPE, CMDSUBRANGETYPE, CMDGTETYPE, CMDLTETYPE, CMDSTRARRAYTYPE, CMDBOOLTYPE } |
Functions | |
int | DeclareParams (const char *,...) |
int | GetParams (int *n, char ***a, const char *CmdFileName) |
enum CommandType |
int DeclareParams | ( | const char * | , | |
... | ||||
) |
Definition at line 116 of file cmd.c.
References CMDBOOLTYPE, CMDDOUBLETYPE, CMDENUMTYPE, CMDGTETYPE, CMDINTTYPE, CMDLTETYPE, CMDSTRARRAYTYPE, CMDSTRINGTYPE, CMDSUBRANGETYPE, MAXPARAM, Cmd_T::Name, NULL, Cmd_T::p, Cmd_T::Type, and Cmd_T::Val.
int GetParams | ( | int * | n, | |
char *** | a, | |||
const char * | CmdFileName | |||
) |
Definition at line 564 of file cmd.c.
References CmdError(), LINSIZ, NULL, PATHSEP, pclose(), popen(), and Moses::Scan().