* Sebastian Hammer, Adam Dickmeiss
*
* $Log: attribute.c,v $
- * Revision 1.10 1999-02-02 14:50:49 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
#include <stdio.h>
-#include <log.h>
+#include <yaz/log.h>
#include <res.h>
#include <zebrautl.h>
-#include "zserver.h"
+#include "index.h"
static data1_att *getatt(data1_attset *p, 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;