/
[official-gcc.git] / gcc / incpath.h
blobdf5b6b1812942d5305f1fcee3942a5e158e0a1f2
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);
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);
32 extern struct target_c_incpath_s target_c_incpath;
34 enum { QUOTE = 0, BRACKET, SYSTEM, AFTER };