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 "mrprojext" 00015 #endif 00016 00017 #ifndef VERSION 00018 #define VERSION "<#1.3.1#>" 00019 #endif 00020 00021 struct gengetopt_args_info 00022 { 00023 char * dbFile_arg; /* read from mrproject-xml-dbfile (default='stdin'). */ 00024 char * timeSlotStart_arg; /* extract tasks not ending before ... (iso8601str) (default='19700101T000000'). */ 00025 char * timeSlotEnd_arg; /* extract tasks not starting after ... (iso8601str) (default='21001231T240000'). */ 00026 char * person_arg; /* extract tasks being handled by ... (default='all'). */ 00027 char * group_arg; /* extract tasks being handled by ... (default='all'). */ 00028 int onlyOpenTasks_flag; /* extract only unfullfilled tasks (default=off). */ 00029 int only_open_flag; /* extract only unfullfilled tasks (default=off). */ 00030 int rwIso8601_flag; /* rewrite iso8601 date-strings instead of german form (default=off). */ 00031 int iso_dates_flag; /* rewrite iso8601 date-strings instead of german form (default=off). */ 00032 int rwOnlyLeafs_flag; /* rewrite only the extracted most embedded tasks (default=off). */ 00033 int only_leafs_flag; /* rewrite only the extracted most embedded tasks (default=off). */ 00034 int rwMrPrjFile_flag; /* rewrite the extracted tasks as new mrproject-xml-dbfile (default=off). */ 00035 int output_mrproject_flag; /* rewrite the extracted tasks as new mrproject-xml-dbfile (default=off). */ 00036 int rwMemoFile_flag; /* rewrite the extracted tasks as text-memo (default=off). */ 00037 int output_memo_flag; /* rewrite the extracted tasks as text-memo (default=off). */ 00038 int rwPilotFile_flag; /* rewrite the extracted tasks as pilot-todo-file (default=off). */ 00039 int output_pilot_flag; /* rewrite the extracted tasks as pilot-todo-file (default=off). */ 00040 int rwVcardFile_flag; /* rewrite the extracted tasks as vcard-todo-file (default=off). */ 00041 int output_vcard_flag; /* rewrite the extracted tasks as vcard-todo-file (default=off). */ 00042 int rwYankFile_flag; /* rewrite the extracted tasks as yank-todo-file (default=off). */ 00043 int output_yank_flag; /* rewrite the extracted tasks as yank-todo-file (default=off). */ 00044 int rwCslFile_flag; /* rewrite the extracted tasks as comma seperated todo-line-list (default=off). */ 00045 int output_csl_flag; /* rewrite the extracted tasks as comma seperated todo-line-list (default=off). */ 00046 int rwHtmlSurvey_flag; /* rewrite a total task survey as htmlpage (default=off). */ 00047 int output_html_flag; /* rewrite a total task survey as htmlpage (default=off). */ 00048 char * evaluationDate_arg; /* build task fullfilling survey with respect to this date (iso8601str). */ 00049 int debug_flag; /* print debugMessages (default=off). */ 00050 00051 int help_given ; /* Whether help was given. */ 00052 int version_given ; /* Whether version was given. */ 00053 int dbFile_given ; /* Whether dbFile was given. */ 00054 int timeSlotStart_given ; /* Whether timeSlotStart was given. */ 00055 int timeSlotEnd_given ; /* Whether timeSlotEnd was given. */ 00056 int person_given ; /* Whether person was given. */ 00057 int group_given ; /* Whether group was given. */ 00058 int onlyOpenTasks_given ; /* Whether onlyOpenTasks was given. */ 00059 int only_open_given ; /* Whether only-open was given. */ 00060 int rwIso8601_given ; /* Whether rwIso8601 was given. */ 00061 int iso_dates_given ; /* Whether iso-dates was given. */ 00062 int rwOnlyLeafs_given ; /* Whether rwOnlyLeafs was given. */ 00063 int only_leafs_given ; /* Whether only-leafs was given. */ 00064 int rwMrPrjFile_given ; /* Whether rwMrPrjFile was given. */ 00065 int output_mrproject_given ; /* Whether output-mrproject was given. */ 00066 int rwMemoFile_given ; /* Whether rwMemoFile was given. */ 00067 int output_memo_given ; /* Whether output-memo was given. */ 00068 int rwPilotFile_given ; /* Whether rwPilotFile was given. */ 00069 int output_pilot_given ; /* Whether output-pilot was given. */ 00070 int rwVcardFile_given ; /* Whether rwVcardFile was given. */ 00071 int output_vcard_given ; /* Whether output-vcard was given. */ 00072 int rwYankFile_given ; /* Whether rwYankFile was given. */ 00073 int output_yank_given ; /* Whether output-yank was given. */ 00074 int rwCslFile_given ; /* Whether rwCslFile was given. */ 00075 int output_csl_given ; /* Whether output-csl was given. */ 00076 int rwHtmlSurvey_given ; /* Whether rwHtmlSurvey was given. */ 00077 int output_html_given ; /* Whether output-html was given. */ 00078 int evaluationDate_given ; /* Whether evaluationDate was given. */ 00079 int debug_given ; /* Whether debug was given. */ 00080 00081 } ; 00082 00083 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); 00084 00085 void cmdline_parser_print_help(void); 00086 void cmdline_parser_print_version(void); 00087 00088 #ifdef __cplusplus 00089 } 00090 #endif /* __cplusplus */ 00091 #endif /* _cmdline_h */