Fixed bug #305: Scan with preferredPositionInResponse <= -2 crashes.
[idzebra-moved-to-github.git] / index / index.h
index 92edee0..2c9c981 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: index.h,v 1.133 2005-04-15 10:47:48 adam Exp $
+/* $Id: index.h,v 1.135 2005-04-28 08:20:40 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -306,6 +306,9 @@ struct zebra_session {
     int m_explain_database;
     int m_flag_rw;
     int m_file_verbose_limit;
+
+    void *store_data_buf;
+    size_t store_data_size;
 };
 
 struct rank_control {
@@ -335,11 +338,12 @@ struct term_set_list {
     struct term_set_entry *last;
 };
 
-RSET rpn_search_structure (ZebraHandle zh, Z_RPNStructure *zs,
-                          oid_value attributeSet, 
-                          NMEM stream, NMEM rset_nmem,
-                          Z_SortKeySpecList *sort_sequence,
-                          int num_bases, char **basenames);
+ZEBRA_RES rpn_search_top(ZebraHandle zh, Z_RPNStructure *zs,
+                        oid_value attributeSet, 
+                        NMEM stream, NMEM rset_nmem,
+                        Z_SortKeySpecList *sort_sequence,
+                        int num_bases, char **basenames,
+                        RSET *result_set);
 
 ZEBRA_RES rpn_scan (ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt,
                    oid_value attributeset,