New method log_item for the various isams to print log an item (for debug)
[idzebra-moved-to-github.git] / index / index.h
index 208ef3b..a9e6af5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: index.h,v 1.103 2004-01-22 11:27:21 adam Exp $
+/* $Id: index.h,v 1.107 2004-06-01 12:32:18 heikki Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
    Index Data Aps
 
@@ -111,6 +111,7 @@ int key_get_pos (const void *p);
 int key_compare_it (const void *p1, const void *p2);
 int key_qsort_compare (const void *p1, const void *p2);
 void key_logdump (int mask, const void *p);
+void key_logdump_txt (int logmask, const void *p, const char *txt);
 void inv_prstat (ZebraHandle zh);
 void inv_compact (BFiles bfs);
 void key_input (ZebraHandle zh, int nkeys, int cache, Res res);
@@ -301,6 +302,7 @@ struct zebra_session {
     int destroyed;
     ZebraSet sets;
     Res res;
+    char *user_perm;
     int errCode;
     int hits;
     char *errString;
@@ -408,7 +410,8 @@ void zebraRankInstall (struct zebra_register *reg, struct rank_control *ctrl);
 ZebraRankClass zebraRankLookup (ZebraHandle zh, const char *name);
 void zebraRankDestroy (struct zebra_register *reg);
 
-int att_getentbyatt(ZebraHandle zh, attent *res, oid_value set, int att);
+int att_getentbyatt(ZebraHandle zh, attent *res, oid_value set, int att,
+               const char *sattr);
 
 extern struct rank_control *rank1_class;
 extern struct rank_control *rankzv_class;
@@ -420,6 +423,7 @@ int zebra_record_fetch (ZebraHandle zh, int sysno, int score, ODR stream,
                        int *rec_lenp, char **basenamep);
 
 void extract_get_fname_tmp (ZebraHandle zh, char *fname, int no);
+
 void zebra_index_merge (ZebraHandle zh);
 
 int buffer_extract_record (ZebraHandle zh, 
@@ -441,8 +445,7 @@ int extract_rec_in_mem (ZebraHandle zh, const char *recordType,
                         int store_keys, int store_data,
                         const char *match_criteria);
 #endif
-
-void extract_flushWriteKeys (ZebraHandle zh);
+void extract_flushWriteKeys (ZebraHandle zh, int final);
 
 struct zebra_fetch_control {
     off_t offset_end;