Charmap work
[idzebra-moved-to-github.git] / index / attribute.c
index 64d7035..5b5c886 100644 (file)
@@ -1,4 +1,16 @@
 /*
+ * Copyright (C) 1994-1995, Index Data I/S 
+ * All rights reserved.
+ * Sebastian Hammer, Adam Dickmeiss
+ *
+ * $Log: attribute.c,v $
+ * Revision 1.3  1996-05-09 07:28:54  quinn
+ * Work towards phrases and multiple registers
+ *
+ * Revision 1.2  1995/11/15  19:13:07  adam
+ * Work on record management.
+ *
+ *
  * This interface is used by other modules (the Z-server in particular)
  * to normalize the attributes given in queries.
  */
@@ -8,8 +20,7 @@
 #include <log.h>
 #include <alexutil.h>
 #include <res.h>
-
-#include "d1_attset.h"
+#include <d1_attset.h>
 
 #include "attribute.h"
 
@@ -70,6 +81,6 @@ attent *att_getentbyatt(oid_value set, int att)
     if (!p)
        return 0;
     res.attset_ordinal = r->parent->ordinal;
-    res.local_attribute = r->local;
+    res.local_attributes = r->locals;
     return &res;
 }