]>
Commit | Line | Data |
---|---|---|
5793b276 | 1 | /* Set up combined include path for the preprocessor. |
818ab71a | 2 | Copyright (C) 2003-2016 Free Software Foundation, Inc. |
5793b276 | 3 | |
9dcd6f09 NC |
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 3, or (at your option) any | |
7 | later version. | |
5793b276 | 8 | |
9dcd6f09 NC |
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. | |
5793b276 | 13 | |
9dcd6f09 NC |
14 | You should have received a copy of the GNU General Public License |
15 | along with this program; see the file COPYING3. If not see | |
16 | <http://www.gnu.org/licenses/>. */ | |
5793b276 | 17 | |
f1717f8d KC |
18 | #ifndef GCC_INCPATH_H |
19 | #define GCC_INCPATH_H | |
20 | ||
35b1a6fa | 21 | extern void split_quote_chain (void); |
b02398bd | 22 | extern void add_path (char *, int, int, bool); |
35b1a6fa | 23 | extern void register_include_chains (cpp_reader *, const char *, |
2b6dd222 JM |
24 | const char *, const char *, |
25 | int, int, int); | |
94d1613b | 26 | extern void add_cpp_dir_path (struct cpp_dir *, int); |
0ea06912 | 27 | extern struct cpp_dir *get_added_cpp_dirs (int); |
94d1613b MS |
28 | |
29 | struct target_c_incpath_s { | |
30 | /* Do extra includes processing. STDINC is false iff -nostdinc was given. */ | |
3dd53121 AP |
31 | void (*extra_pre_includes) (const char *, const char *, int); |
32 | void (*extra_includes) (const char *, const char *, int); | |
94d1613b MS |
33 | }; |
34 | ||
35 | extern struct target_c_incpath_s target_c_incpath; | |
36 | ||
5793b276 | 37 | enum { QUOTE = 0, BRACKET, SYSTEM, AFTER }; |
f1717f8d KC |
38 | |
39 | #endif /* GCC_INCPATH_H */ |