incpath.h 1.5 KB

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