X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fasn.xml;h=7f6208ec74d3fec2a1b022465952338d74ca1a00;hp=3420e635f34c8eda20168c6d8e2b085abbf20bbe;hb=c7cff6778b8d69f6e3c41dbfd939f44436911b90;hpb=955374c92f02d9714ccd593cc03f4394f45b2053 diff --git a/doc/asn.xml b/doc/asn.xml index 3420e63..7f6208e 100644 --- a/doc/asn.xml +++ b/doc/asn.xml @@ -1,4 +1,4 @@ - + The Z39.50 ASN.1 Module Introduction @@ -132,7 +132,16 @@ - Object Identifiers + Object Identifiers (YAZ 2) + + + + This material only applies to version 2 series of YAZ. You need not + read this material if you are working with YAZ 3. + See for more information on OIDs. + + + When you refer to object identifiers in your application, you need to be aware that SR and Z39.50 use two different set of OIDs to refer to @@ -271,7 +280,7 @@ typedef struct Z_External - Z_ext_typeent *z_ext_gettypebyref(oid_value ref); + Z_ext_typeent *z_ext_gettypebyref(const oid *oid); @@ -285,7 +294,7 @@ typedef struct Z_External typedef struct Z_ext_typeent { - oid_value dref; /* the direct-reference OID value. */ + int oid[OID_SIZE]; /* the direct-reference OID. */ int what; /* discriminator value for the external CHOICE */ Odr_fun fun; /* decoder function */ } Z_ext_typeent;