2 * Copyright (C) 1994, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.1 1995-02-03 17:04:39 quinn
15 int odr_external(ODR o, Odr_external **p, int opt)
19 odr_implicit_settag(o, ODR_UNIVERSAL, ODR_EXTERNAL);
20 if (!odr_sequence_begin(o, p, sizeof(Odr_external)))
24 odr_oid(o, &pp->direct_reference, 1) &&
25 odr_integer(o, &pp->indirect_reference, 1) &&
26 odr_graphicstring(o, &pp->descriptor, 1) &&
27 odr_implicit(o, odr_octetstring, &pp->octet_aligned, ODR_CONTEXT,
32 int odr_visiblestring(ODR o, char **p, int opt)
34 return odr_implicit(o, odr_cstring, p, ODR_UNIVERSAL, ODR_VISIBLESTRING,
38 int odr_graphicstring(ODR o, char **p, int opt)
40 return odr_implicit(o, odr_cstring, p, ODR_UNIVERSAL, ODR_GRAPHICSTRING,