1 /* classes: h_files */ 2 3 #ifndef SCM_SCRIPT_H 4 #define SCM_SCRIPT_H 5 6 /* Copyright (C) 1997,1998,2000, 2006, 2008, 2011 Free Software Foundation, Inc. 7 * 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public License 10 * as published by the Free Software Foundation; either version 3 of 11 * the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, but 14 * WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with this library; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA 22 */ 23 24 25 26 #include "libguile/__scm.h" 27 28 29 SCM_API char *scm_find_executable (const char *name); 30 SCM_API char *scm_find_impl_file (char *exec_path, 31 const char *generic_name, 32 const char *initname, 33 const char *sep); 34 SCM_API char **scm_get_meta_args (int argc, char **argv); 35 SCM_API int scm_count_argv (char **argv); 36 SCM_API void scm_shell_usage (int fatal, char *message); 37 SCM_API SCM scm_compile_shell_switches (int argc, char **argv); 38 SCM_API void scm_shell (int argc, char **argv); 39 SCM_API char *scm_usage_name; 40 SCM_INTERNAL void scm_i_set_boot_program_arguments (int argc, char *argv[]); 41 SCM_INTERNAL void scm_init_script (void); 42 43 #endif /* SCM_SCRIPT_H */ 44 45 /* 46 Local Variables: 47 c-file-style: "gnu" 48 End: 49 */ 50