Index: trunk/include/slib.h
===================================================================
--- trunk/include/slib.h	(revision 243)
+++ trunk/include/slib.h	(revision 248)
@@ -327,13 +327,20 @@
    * ---------------------------------------------------------------- */
 
-  SL_TICKET sl_make_ticket (int fd, const char * path);
-
+#define SL_OFILE_SIZE 32
+
+  char * sl_check_stale();
+
+  SL_TICKET sl_make_ticket (const char * ofile, int oline,
+			    int fd, const char * filename);
+ 
   /* Open for writing.
    */
-  SL_TICKET  sl_open_write       (const char * fname, int priviledge_mode);
+  SL_TICKET  sl_open_write       (const char * ofile, int oline,
+				  const char * fname, int priviledge_mode);
 
   /* Open for reading.
    */
-  SL_TICKET  sl_open_read        (const char * fname, int priviledge_mode);
+  SL_TICKET  sl_open_read        (const char * ofile, int oline,
+				  const char * fname, int priviledge_mode);
 
   /* Drop from cach when closing
@@ -343,21 +350,26 @@
   /* Open for reading w/minimum checking.
    */
-  SL_TICKET  sl_open_fastread    (const char * fname, int priviledge_mode);
+  SL_TICKET  sl_open_fastread    (const char * ofile, int oline,
+				  const char * fname, int priviledge_mode);
 
   /* Open for read and write.
    */
-  SL_TICKET  sl_open_rdwr        (const char * fname, int priviledge_mode);
+  SL_TICKET  sl_open_rdwr        (const char * ofile, int oline,
+				  const char * fname, int priviledge_mode);
 
   /* Open for read and write, fail if file exists.
    */
-  SL_TICKET sl_open_safe_rdwr    (const char * fname, int priv);
+  SL_TICKET sl_open_safe_rdwr    (const char * ofile, int oline,
+				  const char * fname, int priv);
 
   /* Open for write, truncate.
    */
-  SL_TICKET  sl_open_write_trunc (const char * fname, int priviledge_mode);
+  SL_TICKET  sl_open_write_trunc (const char * ofile, int oline,
+				  const char * fname, int priviledge_mode);
 
   /* Open for read and write, truncate.
    */
-  SL_TICKET  sl_open_rdwr_trunc  (const char * fname, int priviledge_mode);
+  SL_TICKET  sl_open_rdwr_trunc  (const char * ofile, int oline,
+				  const char * fname, int priviledge_mode);
 
   /* Initialize the content sh_string.
