00001 /* cmdline.h */ 00002 00003 /* File autogenerated by gengetopt version 2.8.1 */ 00004 00005 #ifndef _cmdline_h 00006 #define _cmdline_h 00007 00008 #ifdef __cplusplus 00009 extern "C" { 00010 #endif /* __cplusplus */ 00011 00012 /* Don't define PACKAGE and VERSION if we use automake. */ 00013 #ifndef PACKAGE 00014 #define PACKAGE "trapper" 00015 #endif 00016 00017 #ifndef VERSION 00018 #define VERSION "0.1" 00019 #endif 00020 00021 struct gengetopt_args_info 00022 { 00023 char * dbhome_dir_arg; /* directory home for the database environment ( try to avoid nfs file system ). */ 00024 char * configuration_file_arg; /* configuration file for view modes. */ 00025 00026 int help_given ; /* Whether help was given. */ 00027 int version_given ; /* Whether version was given. */ 00028 int dbhome_dir_given ; /* Whether dbhome-dir was given. */ 00029 int configuration_file_given ; /* Whether configuration-file was given. */ 00030 00031 char **inputs ; /* unamed options */ 00032 unsigned inputs_num ; /* unamed options number */ 00033 } ; 00034 00035 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); 00036 00037 void cmdline_parser_print_help(void); 00038 void cmdline_parser_print_version(void); 00039 00040 #ifdef __cplusplus 00041 } 00042 #endif /* __cplusplus */ 00043 #endif /* _cmdline_h */