gimme-alpha 0.1

process-args.h

Go to the documentation of this file.
00001 /*
00002 ** process-args.h
00003 ** 
00004 ** Made by Johnny Q. Hacker
00005 ** Login   <solarion@borkborkbork>
00006 ** 
00007 
00008 
00009     Copyright (C) 2008 Joseph Pingenot
00010 
00011     This program is free software: you can redistribute it and/or modify
00012     it under the terms of the GNU Affero General Public License as published by
00013     the Free Software Foundation, either version 3 of the License, or
00014     (at your option) any later version.
00015 
00016     This program is distributed in the hope that it will be useful,
00017     but WITHOUT ANY WARRANTY; without even the implied warranty of
00018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019     GNU Affero General Public License for more details.
00020 
00021     You should have received a copy of the GNU Affero General Public License
00022     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00023 
00024 ** Started on  Thu Sep 25 14:59:14 2008 Johnny Q. Hacker
00025 ** Last update Mon Sep 29 16:19:06 2008 Johnny Q. Hacker
00026 */
00027 
00028 #ifndef     PROCESS_ARGS_H_
00029 # define    PROCESS_ARGS_H_
00030 
00031 #include <glib.h>
00032 #include <gio/gio.h>
00033 
00034 struct args {
00035   GList *base_dirs;
00036   gchar *kp8dir;
00037   gchar *emdir;
00038   GFile *input_gfile;
00039   gboolean separate_terms;
00040   gboolean no_efield_term;
00041   gboolean no_interface_term;
00042   GList *interfaces;
00043   gboolean instrument_efield_alpha;
00044   gboolean no_print_integration_error;
00045   double request_integration_abs_error;
00046   double request_integration_rel_error;
00047   short int avg_hh_lh;   /*1 is lh, 2 is hh, 3 is both*/
00048   gboolean full_file_uri;
00049   gboolean no_integrate;
00050   double Ep;
00051   gboolean del_psi2;
00052   /*Array of 2 doubles, the floating-point range*/
00053   GList* ifaces_sequences;
00054 };
00055 
00056 struct args* process_args(int argc, char* argv[]);
00057 
00058 #endif      /* !PROCESS-ARGS_H_ */
 All Classes Files Functions Variables Enumerations Enumerator Defines