X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fattribute.c;h=efdb9ad94d2fa99c76866839bf58419b085acc9f;hb=47ea1fc957c7b97bb30a26698f072109cae275e4;hp=d01230e6bac19a36afa37116b76ca1271b450da8;hpb=e150e51a7e20a902e9fd2f11f00811f94f67d529;p=idzebra-moved-to-github.git diff --git a/index/attribute.c b/index/attribute.c index d01230e..efdb9ad 100644 --- a/index/attribute.c +++ b/index/attribute.c @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: attribute.c,v $ - * Revision 1.11 1999-11-30 13:48:03 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 @@ -48,7 +54,7 @@ #include #include #include -#include "zserver.h" +#include "index.h" static data1_att *getatt(data1_attset *p, int att) { @@ -71,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;