* ports.c (scm_port_closed_p): new procedure, implements
[bpt/guile.git] / libguile / strop.h
index 821e97b..634b0a7 100644 (file)
@@ -2,7 +2,7 @@
 
 #ifndef STROPH
 #define STROPH
-/*     Copyright (C) 1995,1996 Free Software Foundation, Inc.
+/*     Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,8 @@
  * 
  * You should have received a copy of the GNU General Public License
  * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307 USA
  *
  * As a special exception, the Free Software Foundation gives permission
  * for additional uses of the text contained in its release of GUILE.
  *
  * If you write modifications of your own for GUILE, it is your choice
  * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  
- */
+ * If you do not wish that, delete this exception notice.  */
 \f
 
 #include "libguile/__scm.h"
 
 \f
 
-#ifdef __STDC__
-extern int scm_i_index (SCM * str, SCM chr, SCM sub_start, SCM sub_end, int pos, int pos2, int pos3, int pos4, char * why);
-extern int scm_i_rindex (SCM * str, SCM chr, SCM sub_start, SCM sub_end, int pos, int pos2, int pos3, int pos4, char * why);
 extern SCM scm_string_index (SCM str, SCM chr, SCM frm, SCM to);
 extern SCM scm_string_rindex (SCM str, SCM chr, SCM frm, SCM to);
-extern SCM scm_substring_move_left_x (SCM str1, SCM start1, SCM args);
-extern SCM scm_substring_move_right_x (SCM str1, SCM start1, SCM args);
-extern SCM scm_substring_fill_x (SCM str, SCM start, SCM args);
+extern SCM scm_substring_move_x (SCM str1, SCM start1, SCM end1, 
+                                     SCM str2, SCM start2);
+extern SCM scm_substring_fill_x (SCM str, SCM start, SCM end, SCM fill);
 extern SCM scm_string_null_p (SCM str);
 extern SCM scm_string_to_list (SCM str);
 extern SCM scm_string_copy (SCM str);
 extern SCM scm_string_fill_x (SCM str, SCM chr);
 extern void scm_init_strop (void);
+extern SCM scm_string_upcase_x (SCM v);
+extern SCM scm_string_upcase (SCM v);
+extern SCM scm_string_downcase_x (SCM v);
+extern SCM scm_string_downcase (SCM v);
+extern SCM scm_string_capitalize_x (SCM v);
+extern SCM scm_string_capitalize (SCM v);
+extern SCM scm_string_ci_to_symbol (SCM v);
 
-#else /* STDC */
-extern int scm_i_index ();
-extern int scm_i_rindex ();
-extern SCM scm_string_index ();
-extern SCM scm_string_rindex ();
-extern SCM scm_substring_move_left_x ();
-extern SCM scm_substring_move_right_x ();
-extern SCM scm_substring_fill_x ();
-extern SCM scm_string_null_p ();
-extern SCM scm_string_to_list ();
-extern SCM scm_string_copy ();
-extern SCM scm_string_fill_x ();
-extern void scm_init_strop ();
-
-#endif /* STDC */
-
-
-
-
-
-
-
-
+#define scm_substring_move_left_x scm_substring_move_x
+#define scm_substring_move_right_x scm_substring_move_x
 
 #endif  /* STROPH */