Home | History | Annotate | Download | only in include
      1 /* Set up combined include path for the preprocessor.
      2    Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
      3    Free Software Foundation, Inc.
      4 
      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.
      9 
     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.
     14 
     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/>.  */
     18 
     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 
     28 struct target_c_incpath_s {
     29   /* Do extra includes processing.  STDINC is false iff -nostdinc was given.  */
     30   void (*extra_pre_includes) (const char *, const char *, int);
     31   void (*extra_includes) (const char *, const char *, int);
     32 };
     33 
     34 extern struct target_c_incpath_s target_c_incpath;
     35 
     36 enum { QUOTE = 0, BRACKET, SYSTEM, AFTER };
     37