blob: 63e96d4f284cd22ed2421cdf23633f4d6bfe6504 [file] [log] [blame]
Harald Welte769ab7d2019-03-09 15:10:36 +01001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RSPRO"
4 * found in "../../asn1/RSPRO.asn"
5 */
6
7#include "ErrorInd.h"
8
9static asn_TYPE_member_t asn_MBR_ErrorInd_1[] = {
10 { ATF_NOFLAGS, 0, offsetof(struct ErrorInd, sender),
11 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
12 0,
13 &asn_DEF_ComponentType,
14 0, /* Defer constraints checking to the member type */
15 0, /* PER is not compiled, use -gen-PER */
16 0,
17 "sender"
18 },
19 { ATF_NOFLAGS, 0, offsetof(struct ErrorInd, severity),
20 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
21 0,
22 &asn_DEF_ErrorSeverity,
23 0, /* Defer constraints checking to the member type */
24 0, /* PER is not compiled, use -gen-PER */
25 0,
26 "severity"
27 },
28 { ATF_NOFLAGS, 0, offsetof(struct ErrorInd, code),
29 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
30 0,
31 &asn_DEF_ErrorCode,
32 0, /* Defer constraints checking to the member type */
33 0, /* PER is not compiled, use -gen-PER */
34 0,
35 "code"
36 },
37 { ATF_POINTER, 3, offsetof(struct ErrorInd, bankSlot),
38 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
39 -1, /* IMPLICIT tag at current level */
40 &asn_DEF_BankSlot,
41 0, /* Defer constraints checking to the member type */
42 0, /* PER is not compiled, use -gen-PER */
43 0,
44 "bankSlot"
45 },
46 { ATF_POINTER, 2, offsetof(struct ErrorInd, clientSlot),
47 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
48 -1, /* IMPLICIT tag at current level */
49 &asn_DEF_ClientSlot,
50 0, /* Defer constraints checking to the member type */
51 0, /* PER is not compiled, use -gen-PER */
52 0,
53 "clientSlot"
54 },
55 { ATF_POINTER, 1, offsetof(struct ErrorInd, errorString),
56 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
57 -1, /* IMPLICIT tag at current level */
58 &asn_DEF_ErrorString,
59 0, /* Defer constraints checking to the member type */
60 0, /* PER is not compiled, use -gen-PER */
61 0,
62 "errorString"
63 },
64};
65static const ber_tlv_tag_t asn_DEF_ErrorInd_tags_1[] = {
66 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
67};
68static const asn_TYPE_tag2member_t asn_MAP_ErrorInd_tag2el_1[] = {
69 { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 2 }, /* sender */
70 { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, -1, 1 }, /* severity */
71 { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, -2, 0 }, /* code */
72 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 3, 0, 0 }, /* bankSlot */
73 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 4, 0, 0 }, /* clientSlot */
74 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 5, 0, 0 } /* errorString */
75};
76static asn_SEQUENCE_specifics_t asn_SPC_ErrorInd_specs_1 = {
77 sizeof(struct ErrorInd),
78 offsetof(struct ErrorInd, _asn_ctx),
79 asn_MAP_ErrorInd_tag2el_1,
80 6, /* Count of tags in the map */
81 0, 0, 0, /* Optional elements (not needed) */
82 5, /* Start extensions */
83 7 /* Stop extensions */
84};
85asn_TYPE_descriptor_t asn_DEF_ErrorInd = {
86 "ErrorInd",
87 "ErrorInd",
88 SEQUENCE_free,
89 SEQUENCE_print,
90 SEQUENCE_constraint,
91 SEQUENCE_decode_ber,
92 SEQUENCE_encode_der,
93 SEQUENCE_decode_xer,
94 SEQUENCE_encode_xer,
95 0, 0, /* No UPER support, use "-gen-PER" to enable */
96 0, 0, /* No APER support, use "-gen-PER" to enable */
97 0, /* Use generic outmost tag fetcher */
98 asn_DEF_ErrorInd_tags_1,
99 sizeof(asn_DEF_ErrorInd_tags_1)
100 /sizeof(asn_DEF_ErrorInd_tags_1[0]), /* 1 */
101 asn_DEF_ErrorInd_tags_1, /* Same as above */
102 sizeof(asn_DEF_ErrorInd_tags_1)
103 /sizeof(asn_DEF_ErrorInd_tags_1[0]), /* 1 */
104 0, /* No PER visible constraints */
105 asn_MBR_ErrorInd_1,
106 6, /* Elements count */
107 &asn_SPC_ErrorInd_specs_1 /* Additional specs */
108};
109