SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / ANY.c
1 /*
2  * Copyright (c) 2004-2017 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 <ANY.h>
7
8 asn_OCTET_STRING_specifics_t asn_SPC_ANY_specs = {
9     sizeof(ANY_t),
10     offsetof(ANY_t, _asn_ctx),
11     ASN_OSUBV_ANY
12 };
13 asn_TYPE_operation_t asn_OP_ANY = {
14     OCTET_STRING_free,
15 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
16     OCTET_STRING_print,
17 #else
18     0,
19 #endif  /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
20     OCTET_STRING_compare,
21 #if !defined(ASN_DISABLE_BER_SUPPORT)
22     OCTET_STRING_decode_ber,
23     OCTET_STRING_encode_der,
24 #else
25     0,
26     0,
27 #endif  /* !defined(ASN_DISABLE_BER_SUPPORT) */
28 #if !defined(ASN_DISABLE_XER_SUPPORT)
29     OCTET_STRING_decode_xer_hex,
30     ANY_encode_xer,
31 #else
32     0,
33     0,
34 #endif  /* !defined(ASN_DISABLE_XER_SUPPORT) */
35 #if !defined(ASN_DISABLE_JER_SUPPORT)
36     ANY_encode_jer,
37 #else
38     0,
39 #endif  /* !defined(ASN_DISABLE_JER_SUPPORT) */
40 #if !defined(ASN_DISABLE_OER_SUPPORT)
41     0,
42     0,
43 #else
44     0,
45     0,
46 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
47 #if !defined(ASN_DISABLE_UPER_SUPPORT)
48     ANY_decode_uper,
49     ANY_encode_uper,
50 #else
51     0,
52     0,
53 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) */
54 #if !defined(ASN_DISABLE_APER_SUPPORT)
55     ANY_decode_aper,
56     ANY_encode_aper,
57 #else
58     0,
59     0,
60 #endif  /* !defined(ASN_DISABLE_APER_SUPPORT) */
61     0,  /* Random fill is not defined for ANY type */
62     0  /* Use generic outmost tag fetcher */
63 };
64 asn_TYPE_descriptor_t asn_DEF_ANY = {
65     "ANY",
66     "ANY",
67     &asn_OP_ANY,
68     0, 0, 0, 0,
69     {
70 #if !defined(ASN_DISABLE_OER_SUPPORT)
71         0,
72 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
73 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
74         0,
75 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
76         asn_generic_no_constraint
77     },  /* No constraints */
78     0, 0,  /* No members */
79     &asn_SPC_ANY_specs,
80 };