* Sebastian Hammer, Adam Dickmeiss
*
* $Log: d1_tagset.c,v $
- * Revision 1.6 1997-09-17 12:10:38 adam
+ * Revision 1.8 1998-05-18 13:07:07 adam
+ * Changed the way attribute sets are handled by the retriaval module.
+ * Extended Explain conversion / schema.
+ * Modified server and client to work with ASN.1 compiled protocol handlers.
+ *
+ * Revision 1.7 1998/02/11 11:53:35 adam
+ * Changed code so that it compiles as C++.
+ *
+ * Revision 1.6 1997/09/17 12:10:38 adam
* YAZ version 1.4.
*
* Revision 1.5 1997/09/05 09:50:57 adam
{"int", DATA1K_int},
{"octetstring", DATA1K_octetstring},
{"null", DATA1K_null},
- {0, -1}
+ {NULL, (data1_datatype) -1}
};
int i;
return 0;
}
- res = nmem_malloc(mem, sizeof(*res));
+ res = (data1_tagset *)nmem_malloc(mem, sizeof(*res));
res->name = 0;
res->type = 0;
res->tags = 0;
fclose(f);
return 0;
}
- rr = *tagp = nmem_malloc(mem, sizeof(*rr));
+ rr = *tagp = (data1_tag *)nmem_malloc(mem, sizeof(*rr));
rr->tagset = res;
rr->next = 0;
rr->which = DATA1T_numeric;
{
char *e;
- *npp = nmem_malloc(mem, sizeof(**npp));
+ *npp = (data1_name *)nmem_malloc(mem, sizeof(**npp));
if ((e = strchr(nm, '/')))
*(e++) = '\0';
(*npp)->name = nmem_strdup(mem, nm);