SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / GraphicString.c
1 /*-
2  * Copyright (c) 2003 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 <GraphicString.h>
7
8 /*
9  * GraphicString basic type description.
10  */
11 static const ber_tlv_tag_t asn_DEF_GraphicString_tags[] = {
12     (ASN_TAG_CLASS_UNIVERSAL | (25 << 2)),  /* [UNIVERSAL 25] IMPLICIT ...*/
13     (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))    /* ... OCTET STRING */
14 };
15 asn_TYPE_operation_t asn_OP_GraphicString = {
16     OCTET_STRING_free,
17 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
18     OCTET_STRING_print,  /* non-ascii string */
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_hex,
32     OCTET_STRING_encode_xer,  /* Can't expect it to be ASCII/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,  /* Can't expect it to be ASCII/UTF8 */
39 #else
40     0,
41 #endif  /* !defined(ASN_DISABLE_JER_SUPPORT) */
42 #if !defined(ASN_DISABLE_OER_SUPPORT)
43     OCTET_STRING_decode_oer,
44     OCTET_STRING_encode_oer,
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,  /* Implemented in terms of OCTET STRING */
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,  /* Implemented in terms of OCTET STRING */
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     OCTET_STRING_random_fill,
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_GraphicString = {
71     "GraphicString",
72     "GraphicString",
73     &asn_OP_GraphicString,
74     asn_DEF_GraphicString_tags,
75     sizeof(asn_DEF_GraphicString_tags)
76       / sizeof(asn_DEF_GraphicString_tags[0]) - 1,
77     asn_DEF_GraphicString_tags,
78     sizeof(asn_DEF_GraphicString_tags)
79       / sizeof(asn_DEF_GraphicString_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 };