/*
* The table below should be moved to the ODR structure itself and
* be an image of the association context: To help
/*
* The table below should be moved to the ODR structure itself and
* be an image of the association context: To help
encoding CHOICE {
single-ASN1-type [0] ABSTRACT_SYNTAX.&Type,
octet-aligned [1] IMPLICIT OCTET STRING,
encoding CHOICE {
single-ASN1-type [0] ABSTRACT_SYNTAX.&Type,
octet-aligned [1] IMPLICIT OCTET STRING,
r = (*type->fun)(o, &voidp, 0, 0);
(*p)->which = type->what;
(*p)->u.single_ASN1_type = (Odr_any*) voidp;
r = (*type->fun)(o, &voidp, 0, 0);
(*p)->which = type->what;
(*p)->u.single_ASN1_type = (Odr_any*) voidp;
/* It's single ASN.1 type, bias the CHOICE. */
odr_choice_bias(o, type->what);
}
/* It's single ASN.1 type, bias the CHOICE. */
odr_choice_bias(o, type->what);
}
else if (!oid_oidcmp(oid, yaz_oid_recsyn_sutrs))
{ /* SUTRS is a single-ASN.1-type */
Odr_oct *sutrs = (Odr_oct *)odr_malloc(o, sizeof(*sutrs));
else if (!oid_oidcmp(oid, yaz_oid_recsyn_sutrs))
{ /* SUTRS is a single-ASN.1-type */
Odr_oct *sutrs = (Odr_oct *)odr_malloc(o, sizeof(*sutrs));
thisext->which = Z_External_sutrs;
thisext->u.sutrs = sutrs;
sutrs->buf = (unsigned char *)odr_malloc(o, len);
thisext->which = Z_External_sutrs;
thisext->u.sutrs = sutrs;
sutrs->buf = (unsigned char *)odr_malloc(o, len);