X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2Fprt-grs.c;h=abeb4c7e832eaaa94f19493e5f7ce2786912d0d8;hb=a571156582fe34154568c7b42f142e56879557d3;hp=e421656e47494188d4f804a4f80b99fc131184e5;hpb=bad46a884892e5ed522dcbbe06a53b1cef475007;p=yaz-moved-to-github.git diff --git a/asn/prt-grs.c b/asn/prt-grs.c index e421656..abeb4c7 100644 --- a/asn/prt-grs.c +++ b/asn/prt-grs.c @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: prt-grs.c,v $ - * Revision 1.2 1995-08-28 10:58:58 quinn + * Revision 1.5 1995-10-18 16:12:20 quinn + * Added a couple of special cases to handle the WAIS server. + * + * Revision 1.4 1995/09/29 17:11:55 quinn + * Smallish + * + * Revision 1.3 1995/09/27 15:02:43 quinn + * Modified function heads & prototypes. + * + * Revision 1.2 1995/08/28 10:58:58 quinn * Added extra choice-entry to data to catch visiblestring. * * Revision 1.1 1995/08/17 12:47:09 quinn @@ -15,7 +24,6 @@ #include -int z_GenericRecord(ODR o, Z_GenericRecord **p, int opt); int z_TaggedElement(ODR o, Z_TaggedElement **p, int opt); int z_ElementData(ODR o, Z_ElementData **p, int opt); int z_ElementMetaData(ODR o, Z_ElementMetaData **p, int opt); @@ -174,6 +182,8 @@ int z_Triple(ODR o, Z_Triple **p, int opt) { {ODR_NONE, -1, -1, Z_Triple_integer, odr_integer}, {ODR_NONE, -1, -1, Z_Triple_internationalString, z_InternationalString}, + /* The entry below provides some backwards compatibility */ + {ODR_NONE, -1, -1, Z_Triple_internationalString, odr_visiblestring}, {ODR_NONE, -1, -1, Z_Triple_octetString, odr_octetstring}, {ODR_NONE, -1, -1, Z_Triple_oid, odr_oid}, {ODR_NONE, -1, -1, Z_Triple_boolean, odr_bool},