Updated
[bpt/guile.git] / libguile / fports.h
index 9a3c3a7..d4db3e2 100644 (file)
@@ -2,7 +2,7 @@
 
 #ifndef FPORTSH
 #define FPORTSH
-/*     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>
+#include "libguile/__scm.h"
+
+#include "libguile/ports.h"
 
 \f
 
@@ -52,27 +54,13 @@ extern scm_ptobfuns scm_fptob;
 extern scm_ptobfuns scm_pipob;
 
 \f
-#ifdef __STDC__
-extern SCM scm_setbuf0 (SCM port);
-extern long scm_mode_bits (char *modes);
-extern SCM scm_mkfile (char * name, char * modes);
-extern SCM scm_open_file (SCM filename, SCM modes);
-extern SCM scm_port_mode (SCM port);
-extern void scm_init_fports (void);
-
-#else /* STDC */
-extern SCM scm_setbuf0 ();
-extern long scm_mode_bits ();
-extern SCM scm_mkfile ();
-extern SCM scm_open_file ();
-extern SCM scm_port_mode ();
-extern void scm_init_fports ();
-
-#endif /* STDC */
-
-
-
-
 
+extern SCM scm_setbuf0 SCM_P ((SCM port));
+extern SCM scm_setvbuf (SCM port, SCM mode, SCM size);
+extern void scm_setfileno SCM_P ((FILE *fs, int fd));
+extern void scm_evict_ports SCM_P ((int fd));
+extern SCM scm_open_file SCM_P ((SCM filename, SCM modes));
+extern SCM scm_stdio_to_port SCM_P ((FILE *file, char *name, char *modes));
+extern void scm_init_fports SCM_P ((void));
 
 #endif  /* FPORTSH */