X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-p.h;h=3e6bcffe4ce87c7658ad0efd283319b6e783f3c9;hp=5213cfcc543b8e93d9c4baae0b5bdc9603b1da77;hb=7e318eefe6a4dd4906261feb766cae881352ba07;hpb=922617826ecc28cbdcbc5e6d5037843c7985a408 diff --git a/src/zoom-p.h b/src/zoom-p.h index 5213cfc..3e6bcff 100644 --- a/src/zoom-p.h +++ b/src/zoom-p.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: zoom-p.h,v 1.10 2006-03-01 23:24:26 adam Exp $ + * $Id: zoom-p.h,v 1.11 2006-05-10 07:34:38 adam Exp $ */ /** * \file zoom-p.h @@ -92,8 +92,11 @@ struct ZOOM_options_p { ZOOM_options parent2; }; + typedef struct ZOOM_record_cache_p *ZOOM_record_cache; +#define RECORD_HASH_SIZE 131 + struct ZOOM_resultset_p { Z_SortKeySpecList *r_sort_spec; ZOOM_query query; @@ -106,7 +109,7 @@ struct ZOOM_resultset_p { char *setname; char *schema; ODR odr; - ZOOM_record_cache record_cache; + ZOOM_record_cache record_hash[RECORD_HASH_SIZE]; ZOOM_options options; ZOOM_connection connection; ZOOM_resultset next;