mosesdecoder/symal/cmd.h
2015-05-10 10:19:26 +01:00

36 lines
454 B
C

// $Id$
#if !defined(CMD_H)
#define CMD_H
enum CommandType {
CMDDOUBLETYPE = 1,
CMDENUMTYPE,
CMDINTTYPE,
CMDSTRINGTYPE,
CMDSUBRANGETYPE,
CMDGTETYPE,
CMDLTETYPE,
CMDSTRARRAYTYPE,
CMDBOOLTYPE
};
typedef struct {
const char *Name;
int Idx;
} Enum_T;
#ifdef __cplusplus
extern "C" {
#endif
int DeclareParams(const char *, ...);
int GetParams(int *n, char ***a, const char *CmdFileName);
#ifdef __cplusplus
}
#endif
#endif