| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#include <asn_internal.h> |
| 8 |
|
| 9 |
#include "ContentOrReference.h" |
| 10 |
|
| 11 |
static asn_TYPE_member_t asn_MBR_ContentOrReference_1[] = { |
| 12 |
{ ATF_NOFLAGS, 0, offsetof(struct ContentOrReference, choice.content), |
| 13 |
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 14 |
-1, |
| 15 |
&asn_DEF_OCTET_STRING, |
| 16 |
0, |
| 17 |
0, |
| 18 |
0, |
| 19 |
"content" |
| 20 |
}, |
| 21 |
{ ATF_NOFLAGS, 0, offsetof(struct ContentOrReference, choice.reference), |
| 22 |
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 23 |
-1, |
| 24 |
&asn_DEF_FEFString, |
| 25 |
0, |
| 26 |
0, |
| 27 |
0, |
| 28 |
"reference" |
| 29 |
}, |
| 30 |
}; |
| 31 |
static asn_TYPE_tag2member_t asn_MAP_ContentOrReference_tag2el_1[] = { |
| 32 |
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, |
| 33 |
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 } |
| 34 |
}; |
| 35 |
static asn_CHOICE_specifics_t asn_SPC_ContentOrReference_specs_1 = { |
| 36 |
sizeof(struct ContentOrReference), |
| 37 |
offsetof(struct ContentOrReference, _asn_ctx), |
| 38 |
offsetof(struct ContentOrReference, present), |
| 39 |
sizeof(((struct ContentOrReference *)0)->present), |
| 40 |
asn_MAP_ContentOrReference_tag2el_1, |
| 41 |
2, |
| 42 |
0, |
| 43 |
-1 |
| 44 |
}; |
| 45 |
asn_TYPE_descriptor_t asn_DEF_ContentOrReference = { |
| 46 |
"ContentOrReference", |
| 47 |
"ContentOrReference", |
| 48 |
CHOICE_free, |
| 49 |
CHOICE_print, |
| 50 |
CHOICE_constraint, |
| 51 |
CHOICE_decode_ber, |
| 52 |
CHOICE_encode_der, |
| 53 |
CHOICE_decode_xer, |
| 54 |
CHOICE_encode_xer, |
| 55 |
0, 0, |
| 56 |
CHOICE_outmost_tag, |
| 57 |
0, |
| 58 |
0, |
| 59 |
0, |
| 60 |
0, |
| 61 |
0, |
| 62 |
asn_MBR_ContentOrReference_1, |
| 63 |
2, |
| 64 |
&asn_SPC_ContentOrReference_specs_1 |
| 65 |
}; |
| 66 |
|