From: Sebastian Hammer Date: Mon, 28 Aug 1995 10:58:58 +0000 (+0000) Subject: Added extra choice-entry to data to catch visiblestring. X-Git-Tag: YAZ.1.8~925 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=bad46a884892e5ed522dcbbe06a53b1cef475007 Added extra choice-entry to data to catch visiblestring. --- diff --git a/asn/prt-grs.c b/asn/prt-grs.c index 183ccc2..e421656 100644 --- a/asn/prt-grs.c +++ b/asn/prt-grs.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: prt-grs.c,v $ - * Revision 1.1 1995-08-17 12:47:09 quinn + * 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 * Added GRS-1. * * @@ -59,6 +62,8 @@ int z_ElementData(ODR o, Z_ElementData **p, int opt) {ODR_NONE, -1, -1, Z_ElementData_date, odr_generalizedtime}, {ODR_NONE, -1, -1, Z_ElementData_ext, z_External}, {ODR_NONE, -1, -1, Z_ElementData_string, z_InternationalString}, + /* The entry below provides some backwards compatibility */ + {ODR_NONE, -1, -1, Z_ElementData_string, odr_visiblestring}, {ODR_NONE, -1, -1, Z_ElementData_trueOrFalse, odr_bool}, {ODR_NONE, -1, -1, Z_ElementData_oid, odr_oid}, {ODR_IMPLICIT, ODR_CONTEXT, 1, Z_ElementData_intUnit, z_IntUnit},