2006-08-06 Paolo Carlini <pcarlini@suse.de>
[official-gcc.git] / gcc / c-incpath.h
blob3f268b79d57996754a0dd16f7b037781bc1fd83c
1 /* Set up combined include path for the preprocessor.
2 Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 2, or (at your option) any
7 later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
18 extern void split_quote_chain (void);
19 extern void add_path (char *, int, int, bool);
20 extern void register_include_chains (cpp_reader *, const char *,
21 const char *, const char *,
22 int, int, int);
23 extern void add_cpp_dir_path (struct cpp_dir *, int);
25 struct target_c_incpath_s {
26 /* Do extra includes processing. STDINC is false iff -nostdinc was given. */
27 void (*extra_pre_includes) (const char *, const char *, int);
28 void (*extra_includes) (const char *, const char *, int);
31 extern struct target_c_incpath_s target_c_incpath;
33 enum { QUOTE = 0, BRACKET, SYSTEM, AFTER };