load.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #ifndef SCM_LOAD_H
  2. #define SCM_LOAD_H
  3. /* Copyright 1995-1996,1998,2000-2001,2006,2008-2011,2013,2018
  4. Free Software Foundation, Inc.
  5. This file is part of Guile.
  6. Guile is free software: you can redistribute it and/or modify it
  7. under the terms of the GNU Lesser General Public License as published
  8. by the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Guile is distributed in the hope that it will be useful, but WITHOUT
  11. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
  13. License for more details.
  14. You should have received a copy of the GNU Lesser General Public
  15. License along with Guile. If not, see
  16. <https://www.gnu.org/licenses/>. */
  17. #include "libguile/scm.h"
  18. SCM_API SCM scm_parse_path (SCM path, SCM tail);
  19. SCM_API SCM scm_parse_path_with_ellipsis (SCM path, SCM base);
  20. SCM_API SCM scm_primitive_load (SCM filename);
  21. SCM_API SCM scm_c_primitive_load (const char *filename);
  22. SCM_API SCM scm_sys_package_data_dir (void);
  23. SCM_API SCM scm_sys_library_dir (void);
  24. SCM_API SCM scm_sys_site_dir (void);
  25. SCM_API SCM scm_sys_global_site_dir (void);
  26. SCM_API SCM scm_sys_site_ccache_dir (void);
  27. SCM_API SCM scm_search_path (SCM path, SCM filename, SCM rest);
  28. SCM_API SCM scm_sys_search_load_path (SCM filename);
  29. SCM_API SCM scm_primitive_load_path (SCM filename_and_exception_on_not_found);
  30. SCM_API SCM scm_c_primitive_load_path (const char *filename);
  31. SCM_INTERNAL SCM scm_sys_warn_auto_compilation_enabled (void);
  32. SCM_INTERNAL void scm_init_load_path (void);
  33. SCM_INTERNAL void scm_init_load (void);
  34. SCM_INTERNAL void scm_init_load_should_auto_compile (void);
  35. SCM_INTERNAL void scm_init_eval_in_scheme (void);
  36. SCM_INTERNAL char *scm_i_mirror_backslashes (char *path);
  37. #endif /* SCM_LOAD_H */