Remove a few YLOG_LOGs
[idzebra-moved-to-github.git] / rset / rstemp.c
index 57e1beb..32048c9 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rstemp.c,v 1.60 2005-01-17 01:21:44 adam Exp $
+/* $Id: rstemp.c,v 1.62 2005-04-26 10:09:38 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -32,7 +32,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #endif
 #include <sys/types.h>
 
-#include <zebrautl.h>
+#include <idzebra/util.h>
 #include <rset.h>
 
 static RSFD r_open(RSET ct, int flag);
@@ -44,7 +44,6 @@ static void r_pos(RSFD rfd, double *current, double  *total);
 static void r_flush(RSFD rfd, int mk);
 static void r_reread(RSFD rfd);
 
-
 static const struct rset_control control = 
 {
     "temp",
@@ -58,8 +57,6 @@ static const struct rset_control control =
     r_write,
 };
 
-const struct rset_control *rset_kind_temp = &control;
-
 struct rset_temp_info {
     int     fd;            /* file descriptor for temp file */
     char   *fname;         /* name of temp file */
@@ -69,7 +66,7 @@ struct rset_temp_info {
     size_t  pos_buf;       /* position of first byte in window */
     size_t  pos_border;    /* position of last byte+1 in window */
     int     dirty;         /* window is dirty */
-    zint     hits;          /* no of hits */
+    zint    hits;          /* no of hits */
     char   *temp_path;
 };
 
@@ -83,8 +80,8 @@ struct rset_temp_rfd {
 static int log_level = 0;
 static int log_level_initialized = 0;
 
-RSET rstemp_create( NMEM nmem, const struct key_control *kcontrol,
-                    int scope, const char *temp_path, TERMID term)
+RSET rstemp_create(NMEM nmem, const struct key_control *kcontrol,
+                   int scope, const char *temp_path, TERMID term)
 {
     RSET rnew = rset_create_base(&control, nmem, kcontrol, scope,term);
     struct rset_temp_info *info;