1*e4b17023SJohn Marino /* Set up combined include path for the preprocessor. 2*e4b17023SJohn Marino Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 3*e4b17023SJohn Marino Free Software Foundation, Inc. 4*e4b17023SJohn Marino 5*e4b17023SJohn Marino This program is free software; you can redistribute it and/or modify it 6*e4b17023SJohn Marino under the terms of the GNU General Public License as published by the 7*e4b17023SJohn Marino Free Software Foundation; either version 3, or (at your option) any 8*e4b17023SJohn Marino later version. 9*e4b17023SJohn Marino 10*e4b17023SJohn Marino This program is distributed in the hope that it will be useful, 11*e4b17023SJohn Marino but WITHOUT ANY WARRANTY; without even the implied warranty of 12*e4b17023SJohn Marino MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*e4b17023SJohn Marino GNU General Public License for more details. 14*e4b17023SJohn Marino 15*e4b17023SJohn Marino You should have received a copy of the GNU General Public License 16*e4b17023SJohn Marino along with this program; see the file COPYING3. If not see 17*e4b17023SJohn Marino <http://www.gnu.org/licenses/>. */ 18*e4b17023SJohn Marino 19*e4b17023SJohn Marino extern void split_quote_chain (void); 20*e4b17023SJohn Marino extern void add_path (char *, int, int, bool); 21*e4b17023SJohn Marino extern void register_include_chains (cpp_reader *, const char *, 22*e4b17023SJohn Marino const char *, const char *, 23*e4b17023SJohn Marino int, int, int); 24*e4b17023SJohn Marino extern void add_cpp_dir_path (struct cpp_dir *, int); 25*e4b17023SJohn Marino extern struct cpp_dir *get_added_cpp_dirs (int); 26*e4b17023SJohn Marino 27*e4b17023SJohn Marino struct target_c_incpath_s { 28*e4b17023SJohn Marino /* Do extra includes processing. STDINC is false iff -nostdinc was given. */ 29*e4b17023SJohn Marino void (*extra_pre_includes) (const char *, const char *, int); 30*e4b17023SJohn Marino void (*extra_includes) (const char *, const char *, int); 31*e4b17023SJohn Marino }; 32*e4b17023SJohn Marino 33*e4b17023SJohn Marino extern struct target_c_incpath_s target_c_incpath; 34*e4b17023SJohn Marino 35*e4b17023SJohn Marino enum { QUOTE = 0, BRACKET, SYSTEM, AFTER }; 36