]> Creatis software - clitk.git/blob - utilities/gengetopt/argsdef.h
Sync gengetopt cmake files with rtk
[clitk.git] / utilities / gengetopt / argsdef.h
1 /**
2  * Copyright (C) 1999-2007  Free Software Foundation, Inc.
3  *
4  * This file is part of GNU gengetopt 
5  *
6  * GNU gengetopt is free software; you can redistribute it and/or modify 
7  * it under the terms of the GNU General Public License as published by 
8  * the Free Software Foundation; either version 3, or (at your option) 
9  * any later version. 
10  *
11  * GNU gengetopt is distributed in the hope that it will be useful, but 
12  * WITHOUT ANY WARRANTY; without even the implied warranty of 
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14  * Public License for more details. 
15  *
16  * You should have received a copy of the GNU General Public License along 
17  * with gengetopt; see the file COPYING. If not, write to the Free Software 
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
19  */
20
21 #ifndef GENGETOPT_ARGSDEF_H
22 #define GENGETOPT_ARGSDEF_H
23
24 #define ARG_NO          0
25 #define ARG_FLAG        1
26 #define ARG_STRING      2
27 #define ARG_INT         3
28 #define ARG_SHORT       4
29 #define ARG_LONG        5
30 #define ARG_FLOAT       6
31 #define ARG_DOUBLE      7
32 #define ARG_LONGDOUBLE  8
33 #define ARG_LONGLONG    9
34 #define ARG_ENUM    10
35
36 /** corresponding strings for above defines */
37 extern const char * arg_type_constants [];
38 /** symbolic names for argument types */
39 extern const char * arg_names [];
40 /** corresponding C types */
41 extern const char * arg_types [];
42 /** string representation of types */
43 extern const char * arg_types_names [];
44
45 #define ARGS_STRUCT "args_info"
46
47 #endif /* GENGETOPT_ARGSDEF_H */
48