Modified function heads & prototypes.
[yaz-moved-to-github.git] / util / pquery.c
index c5fe651..f842788 100644 (file)
@@ -4,7 +4,13 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: pquery.c,v $
- * Revision 1.4  1995-06-15 07:45:19  quinn
+ * Revision 1.6  1995-09-27 15:03:03  quinn
+ * Modified function heads & prototypes.
+ *
+ * Revision 1.5  1995/06/15  12:31:02  quinn
+ * *** empty log message ***
+ *
+ * Revision 1.4  1995/06/15  07:45:19  quinn
  * Moving to v3.
  *
  * Revision 1.3  1995/06/14  11:06:35  adam
@@ -119,8 +125,9 @@ static Z_AttributesPlusTerm *rpn_term (ODR o, int num_attr, int *attr_list)
                 odr_malloc (o,sizeof(**zapt->attributeList));
             zapt->attributeList[i]->attributeType = &attr_tmp[2*i];
 #ifdef Z_95
+           zapt->attributeList[i]->attributeSet = 0;
            zapt->attributeList[i]->which = Z_AttributeValue_numeric;
-           zapt->attributeList[i]->value = &attr_tmp[2*i+1];
+           zapt->attributeList[i]->value.numeric = &attr_tmp[2*i+1];
 #else
             zapt->attributeList[i]->attributeValue = &attr_tmp[2*i+1];
 #endif
@@ -241,7 +248,7 @@ static Z_RPNStructure *rpn_structure (ODR o, int num_attr, int max_attr,
     return sz;
 }
 
-Z_RPNQuery *p_query_rpn (ODR o, const char *qbuf)
+Z_RPNQuery MDF *p_query_rpn (ODR o, const char *qbuf)
 {
     Z_RPNQuery *zq;
     int attr_array[1024];
@@ -255,7 +262,7 @@ Z_RPNQuery *p_query_rpn (ODR o, const char *qbuf)
     return zq;
 }
 
-Z_AttributesPlusTerm *p_query_scan (ODR o, const char *qbuf)
+Z_AttributesPlusTerm MDF *p_query_scan (ODR o, const char *qbuf)
 {
     int attr_list[1024];
     int num_attr = 0;