load.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* classes: h_files */
  2. #ifndef SCM_LOAD_H
  3. #define SCM_LOAD_H
  4. /* Copyright (C) 1995,1996,1998,2000,2001, 2006, 2008, 2009, 2010, 2011, 2013 Free Software Foundation, Inc.
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public License
  8. * as published by the Free Software Foundation; either version 3 of
  9. * the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  19. * 02110-1301 USA
  20. */
  21. #include "libguile/__scm.h"
  22. SCM_API SCM scm_parse_path (SCM path, SCM tail);
  23. SCM_API SCM scm_parse_path_with_ellipsis (SCM path, SCM base);
  24. SCM_API SCM scm_primitive_load (SCM filename);
  25. SCM_API SCM scm_c_primitive_load (const char *filename);
  26. SCM_API SCM scm_sys_package_data_dir (void);
  27. SCM_API SCM scm_sys_library_dir (void);
  28. SCM_API SCM scm_sys_site_dir (void);
  29. SCM_API SCM scm_sys_global_site_dir (void);
  30. SCM_API SCM scm_sys_site_ccache_dir (void);
  31. SCM_API SCM scm_search_path (SCM path, SCM filename, SCM rest);
  32. SCM_API SCM scm_sys_search_load_path (SCM filename);
  33. SCM_API SCM scm_primitive_load_path (SCM filename_and_exception_on_not_found);
  34. SCM_API SCM scm_c_primitive_load_path (const char *filename);
  35. SCM_INTERNAL SCM scm_sys_warn_auto_compilation_enabled (void);
  36. SCM_INTERNAL void scm_init_load_path (void);
  37. SCM_INTERNAL void scm_init_load (void);
  38. SCM_INTERNAL void scm_init_load_should_auto_compile (void);
  39. SCM_INTERNAL void scm_init_eval_in_scheme (void);
  40. SCM_INTERNAL char *scm_i_mirror_backslashes (char *path);
  41. #endif /* SCM_LOAD_H */
  42. /*
  43. Local Variables:
  44. c-file-style: "gnu"
  45. End:
  46. */