Index: trunk/include/slib.h
===================================================================
--- trunk/include/slib.h	(revision 248)
+++ trunk/include/slib.h	(revision 252)
@@ -329,9 +329,16 @@
 #define SL_OFILE_SIZE 32
 
+  char * sl_check_badfd();
   char * sl_check_stale();
 
+  /* Create a file record for an open file
+   */
   SL_TICKET sl_make_ticket (const char * ofile, int oline,
-			    int fd, const char * filename);
+			    int fd, const char * filename, FILE * stream);
  
+  /* Get the pointer to a stream. If none exists yet, open it
+   */
+  FILE * sl_stream (SL_TICKET ticket, char * mode);
+
   /* Open for writing.
    */
@@ -388,4 +395,12 @@
    */
   int sl_close (SL_TICKET ticket);
+
+  /* Close file descriptor.
+   */
+  int sl_close_fd (const char * file, int line, int fd);
+
+  /* Close stream.
+   */
+  int sl_fclose (const char * file, int line, FILE * fp);
 
   /* Unlink file.
