X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Frecctrl.h;h=4d18730e710b91444d6c54222205643ff4a72b3b;hp=3f20cb05ad3f733cd7747d0870cee1e4bfd4f139;hb=4478d785b7769691261005c98063b98a5a5971b3;hpb=0af00389d43835ef54928dc22f7d34ae30f3c723 diff --git a/include/idzebra/recctrl.h b/include/idzebra/recctrl.h index 3f20cb0..4d18730 100644 --- a/include/idzebra/recctrl.h +++ b/include/idzebra/recctrl.h @@ -1,4 +1,4 @@ -/* $Id: recctrl.h,v 1.21 2006-06-07 10:14:40 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 @@ -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