xref: /dragonfly/contrib/gcc-4.7/gcc/incpath.h (revision 25a2db75)
1 /* Set up combined include path for the preprocessor.
2    Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
3    Free Software Foundation, Inc.
4 
5    This program is free software; you can redistribute it and/or modify it
6    under the terms of the GNU General Public License as published by the
7    Free Software Foundation; either version 3, or (at your option) any
8    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 General Public License for more details.
14 
15    You should have received a copy of the GNU General Public License
16    along with this program; see the file COPYING3.  If not see
17    <http://www.gnu.org/licenses/>.  */
18 
19 extern void split_quote_chain (void);
20 extern void add_path (char *, int, int, bool);
21 extern void register_include_chains (cpp_reader *, const char *,
22 				     const char *, const char *,
23 				     int, int, int);
24 extern void add_cpp_dir_path (struct cpp_dir *, int);
25 extern struct cpp_dir *get_added_cpp_dirs (int);
26 
27 struct target_c_incpath_s {
28   /* Do extra includes processing.  STDINC is false iff -nostdinc was given.  */
29   void (*extra_pre_includes) (const char *, const char *, int);
30   void (*extra_includes) (const char *, const char *, int);
31 };
32 
33 extern struct target_c_incpath_s target_c_incpath;
34 
35 enum { QUOTE = 0, BRACKET, SYSTEM, AFTER };
36