X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fattribute.c;h=efdb9ad94d2fa99c76866839bf58419b085acc9f;hb=a20e59c5087fb92c419f2330c786367f9ce8ccd2;hp=2f7d89477c8470d1ae935e793cbd2fd10be33a3c;hpb=85a2a0b28cb516d28ac70b7824f2b7d4b07e56ae;p=idzebra-moved-to-github.git diff --git a/index/attribute.c b/index/attribute.c index 2f7d894..efdb9ad 100644 --- a/index/attribute.c +++ b/index/attribute.c @@ -1,10 +1,22 @@ /* - * Copyright (C) 1994-1998, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: attribute.c,v $ - * Revision 1.9 1998-05-20 10:12:14 adam + * Revision 1.13 2002-04-04 14:14:13 adam + * Multiple registers (alpha early) + * + * Revision 1.12 2000/03/15 15:00:30 adam + * First work on threaded version. + * + * Revision 1.11 1999/11/30 13:48:03 adam + * Improved installation. Updated for inclusion of YAZ header files. + * + * Revision 1.10 1999/02/02 14:50:49 adam + * Updated WIN32 code specific sections. Changed header. + * + * Revision 1.9 1998/05/20 10:12:14 adam * Implemented automatic EXPLAIN database maintenance. * Modified Zebra to work with ASN.1 compiled version of YAZ. * @@ -39,10 +51,10 @@ #include -#include +#include #include #include -#include "zserver.h" +#include "index.h" static data1_att *getatt(data1_attset *p, int att) { @@ -65,10 +77,10 @@ int att_getentbyatt(ZebraHandle zi, attent *res, oid_value set, int att) data1_att *r; data1_attset *p; - if (!(p = data1_attset_search_id (zi->dh, set))) + if (!(p = data1_attset_search_id (zi->reg->dh, set))) { - zebraExplain_loadAttsets (zi->dh, zi->res); - p = data1_attset_search_id (zi->dh, set); + zebraExplain_loadAttsets (zi->reg->dh, zi->res); + p = data1_attset_search_id (zi->reg->dh, set); } if (!p) return -2;