Merge from trunk: 215733-215743
[official-gcc.git] / gcc-4_7 / gcc / incpath.h
blob327e05f887ae376a56ddcebe2d9ef0471c471ddc
1 /* Set up combined include path for the preprocessor.
2 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
3 Free Software Foundation, Inc.
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.
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.
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/>. */
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 void get_include_chains (cpp_dir **quotes, cpp_dir **brackets);
26 extern void clear_include_chains (void);
27 extern struct cpp_dir *get_added_cpp_dirs (int);
29 struct target_c_incpath_s {
30 /* Do extra includes processing. STDINC is false iff -nostdinc was given. */
31 void (*extra_pre_includes) (const char *, const char *, int);
32 void (*extra_includes) (const char *, const char *, int);
35 extern struct target_c_incpath_s target_c_incpath;
37 enum { QUOTE = 0, BRACKET, SYSTEM, AFTER };