comparison fastx_toolkit-0.0.6/src/libfastx/fastx_args.h @ 3:997f5136985f draft default tip

Uploaded
author xilinxu
date Thu, 14 Aug 2014 04:52:17 -0400
parents
children
comparison
equal deleted inserted replaced
2:dfe9332138cf 3:997f5136985f
1 /*
2 FASTX-toolkit - FASTA/FASTQ preprocessing tools.
3 Copyright (C) 2009 A. Gordon (gordon@cshl.edu)
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Affero General Public License as
7 published by the Free Software Foundation, either version 3 of the
8 License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Affero General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 #ifndef __FASTX_ARGS__
19 #define __FASTX_ARGS__
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 //One day this would all be OO :-)
26
27 const char* get_input_filename();
28 const char* get_output_filename();
29 int verbose_flag();
30 int compress_output_flag();
31 FILE* get_report_file();
32
33 typedef int (*parse_argument_func)(int optind, int optc, char* optarg) ;
34
35 int fastx_parse_cmdline( int argc, char* argv[],
36 const char* program_options,
37 parse_argument_func program_parse_arg ) ;
38
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif
45