X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fit_key.h;h=7198d68cc62833366be488bb1776e56b9ce357dd;hp=a2adf08f0c3c59879f23b3d307982616e0510f55;hb=4f71537a478fc551989245f0dde38997714eedc1;hpb=5a8a42bede922e70156e7b289db071592c71529b diff --git a/include/it_key.h b/include/it_key.h index a2adf08..7198d68 100644 --- a/include/it_key.h +++ b/include/it_key.h @@ -1,8 +1,5 @@ -/* $Id: it_key.h,v 1.2 2007-01-15 20:08:24 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -23,12 +20,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef ZEBRA_IT_KEY_H #define ZEBRA_IT_KEY_H -#include #include YAZ_BEGIN_CDECL -#define IT_MAX_WORD 256 +#define IT_MAX_WORD 512 #define IT_KEY_LEVEL_MAX 5 struct it_key { @@ -46,7 +42,6 @@ int key_compare(const void *p1, const void *p2); void key_init(struct it_key *k); zint key_get_seq(const void *p); zint key_get_segment(const void *p); -int key_compare_it(const void *p1, const void *p2); int key_qsort_compare(const void *p1, const void *p2); char *key_print_it(const void *p, char *buf); void key_logdump(int mask, const void *p); @@ -61,6 +56,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab