xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/incpath.h (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
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 
26 struct target_c_incpath_s {
27   /* Do extra includes processing.  STDINC is false iff -nostdinc was given.  */
28   void (*extra_pre_includes) (const char *, const char *, int);
29   void (*extra_includes) (const char *, const char *, int);
30 };
31 
32 extern struct target_c_incpath_s target_c_incpath;
33 
34 enum { QUOTE = 0, BRACKET, SYSTEM, AFTER };
35