Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cmd.h « symal - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9c4e0e18dcdd7d39353722b6cb85350f075e2fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

// $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;

  int DeclareParams(const char *, ...);
  int GetParams(int *n, char ***a, const char *CmdFileName);

#endif