Update copyright year + FSF address
[idzebra-moved-to-github.git] / include / idzebra / recctrl.h
index 4ad6157..4d18730 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: recctrl.h,v 1.20 2006-05-19 13:49:34 adam Exp $
+/* $Id: recctrl.h,v 1.26 2006-08-14 10:40:14 adam Exp $
    Copyright (C) 1995-2006
    Index Data ApS
 
@@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
 */
 
 #ifndef IDZEBRA_RECCTRL_H
@@ -79,7 +79,7 @@ struct recExtractCtrl {
     int       flagShowRecords;
     int       seqno[256];
     char      match_criteria[256];
-    int       staticrank;
+    zint      staticrank;
     void      (*schemaAdd)(struct recExtractCtrl *p, Odr_oid *oid);
     data1_handle dh;
     void      *handle;
@@ -99,7 +99,7 @@ struct recRetrieveCtrl {
     char      *encoding;              /* preferred character encoding      */
     zint      localno;                /* local id of record                */
     int       score;                  /* score 0-1000 or -1 if none        */
-    int       staticrank;             /* static rank >= 0,  0 if none */
+    zint      staticrank;             /* static rank >= 0,  0 if none */
     int       recordSize;             /* size of record in bytes */
     char      *fname;                 /* name of file (or NULL if internal) */
     data1_handle dh;
@@ -169,6 +169,8 @@ RecType recType_byName(RecTypes rts, Res res, const char *name,
                       void **clientDataP);
 
 
+#define KEY_SEGMENT_SIZE 1024
+
 YAZ_END_CDECL
 
 #endif