1 /*
2  * Copyright (c) 2010, 2014 Tama Communications Corporation
3  *
4  * This file is part of GNU GLOBAL.
5  *
6  * This program 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 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef _ARGS_H_
21 #define _ARGS_H_
22 #include "gpathop.h"
23 
24 #define OPT_GTAGSCONF           200
25 #define OPT_GTAGSLABEL          201
26 
27 void args_open(char *const *);
28 void args_open_filelist(const char *);
29 void args_open_gfind(GFIND *gp);
30 void args_open_nop(void);
31 void args_open_both(char *const *, const char *);
32 const char *args_read(void);
33 void args_close(void);
34 int preparse_options(int, char *const *);
35 char **prepend_options(int *, char *const *, const char *options);
36 char *serialize_options(int, char *const *);
37 
38 #endif /* ! _ARGS_H_ */
39