SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / ObjectDescriptor.c
1 /*-
2  * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #include <asn_internal.h>
6 #include <ObjectDescriptor.h>
7
8 /*
9  * ObjectDescriptor basic type description.
10  */
11 static const ber_tlv_tag_t asn_DEF_ObjectDescriptor_tags[] = {
12     (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)),  /* [UNIVERSAL 7] IMPLICIT ... */
13     (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))   /* ... OCTET STRING */
14 };
15 asn_TYPE_operation_t asn_OP_ObjectDescriptor = {
16     OCTET_STRING_free,
17 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
18     OCTET_STRING_print_utf8,  /* Treat as ASCII subset (it's not) */
19 #else
20     0,
21 #endif  /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
22     OCTET_STRING_compare,
23 #if !defined(ASN_DISABLE_BER_SUPPORT)
24     OCTET_STRING_decode_ber,  /* Implemented in terms of OCTET STRING */
25     OCTET_STRING_encode_der,
26 #else
27     0,
28     0,
29 #endif  /* !defined(ASN_DISABLE_BER_SUPPORT) */
30 #if !defined(ASN_DISABLE_XER_SUPPORT)
31     OCTET_STRING_decode_xer_utf8,
32     OCTET_STRING_encode_xer_utf8,
33 #else
34     0,
35     0,
36 #endif  /* !defined(ASN_DISABLE_XER_SUPPORT) */
37 #if !defined(ASN_DISABLE_JER_SUPPORT)
38     OCTET_STRING_encode_jer_utf8,
39 #else
40     0,
41 #endif  /* !defined(ASN_DISABLE_JER_SUPPORT) */
42 #if !defined(ASN_DISABLE_OER_SUPPORT)
43     0,
44     0,
45 #else
46     0,
47     0,
48 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
49 #if !defined(ASN_DISABLE_UPER_SUPPORT)
50     OCTET_STRING_decode_uper,
51     OCTET_STRING_encode_uper,
52 #else
53     0,
54     0,
55 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) */
56 #if !defined(ASN_DISABLE_APER_SUPPORT)
57     OCTET_STRING_decode_aper,
58     OCTET_STRING_encode_aper,
59 #else
60     0,
61     0,
62 #endif  /* !defined(ASN_DISABLE_APER_SUPPORT) */
63 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
64     0,  /* Not supported for ObjectDescriptor */
65 #else
66     0,
67 #endif  /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
68     0  /* Use generic outmost tag fetcher */
69 };
70 asn_TYPE_descriptor_t asn_DEF_ObjectDescriptor = {
71     "ObjectDescriptor",
72     "ObjectDescriptor",
73     &asn_OP_ObjectDescriptor,
74     asn_DEF_ObjectDescriptor_tags,
75     sizeof(asn_DEF_ObjectDescriptor_tags)
76       / sizeof(asn_DEF_ObjectDescriptor_tags[0]) - 1,
77     asn_DEF_ObjectDescriptor_tags,
78     sizeof(asn_DEF_ObjectDescriptor_tags)
79       / sizeof(asn_DEF_ObjectDescriptor_tags[0]),
80     {
81 #if !defined(ASN_DISABLE_OER_SUPPORT)
82         0,
83 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
84 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
85         0,
86 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
87         asn_generic_unknown_constraint
88     },
89     0, 0,  /* No members */
90     0  /* No specifics */
91 };