blob: 0d33aa87f77b245cd5b1f1dcaf37ad2a8b13c9d6 [file] [log] [blame]
Harald Welte3aa901d2018-08-13 18:32:36 +02001/*
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 <osmocom/rspro/ConnectBankReq.h>
8
9static asn_TYPE_member_t asn_MBR_ConnectBankReq_1[] = {
10 { ATF_NOFLAGS, 0, offsetof(struct ConnectBankReq, identity),
11 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
12 0,
13 &asn_DEF_ComponentIdentity,
14 0, /* Defer constraints checking to the member type */
15 0, /* PER is not compiled, use -gen-PER */
16 0,
17 "identity"
18 },
19 { ATF_NOFLAGS, 0, offsetof(struct ConnectBankReq, bankId),
20 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
21 0,
22 &asn_DEF_BankId,
23 0, /* Defer constraints checking to the member type */
24 0, /* PER is not compiled, use -gen-PER */
25 0,
26 "bankId"
27 },
28 { ATF_NOFLAGS, 0, offsetof(struct ConnectBankReq, numberOfSlots),
29 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
30 0,
31 &asn_DEF_SlotNumber,
32 0, /* Defer constraints checking to the member type */
33 0, /* PER is not compiled, use -gen-PER */
34 0,
35 "numberOfSlots"
36 },
37};
38static const ber_tlv_tag_t asn_DEF_ConnectBankReq_tags_1[] = {
39 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
40};
41static const asn_TYPE_tag2member_t asn_MAP_ConnectBankReq_tag2el_1[] = {
42 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 1 }, /* bankId */
43 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 0 }, /* numberOfSlots */
44 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* identity */
45};
46static asn_SEQUENCE_specifics_t asn_SPC_ConnectBankReq_specs_1 = {
47 sizeof(struct ConnectBankReq),
48 offsetof(struct ConnectBankReq, _asn_ctx),
49 asn_MAP_ConnectBankReq_tag2el_1,
50 3, /* Count of tags in the map */
51 0, 0, 0, /* Optional elements (not needed) */
52 2, /* Start extensions */
53 4 /* Stop extensions */
54};
55asn_TYPE_descriptor_t asn_DEF_ConnectBankReq = {
56 "ConnectBankReq",
57 "ConnectBankReq",
58 SEQUENCE_free,
59 SEQUENCE_print,
60 SEQUENCE_constraint,
61 SEQUENCE_decode_ber,
62 SEQUENCE_encode_der,
63 SEQUENCE_decode_xer,
64 SEQUENCE_encode_xer,
65 0, 0, /* No UPER support, use "-gen-PER" to enable */
66 0, 0, /* No APER support, use "-gen-PER" to enable */
67 0, /* Use generic outmost tag fetcher */
68 asn_DEF_ConnectBankReq_tags_1,
69 sizeof(asn_DEF_ConnectBankReq_tags_1)
70 /sizeof(asn_DEF_ConnectBankReq_tags_1[0]), /* 1 */
71 asn_DEF_ConnectBankReq_tags_1, /* Same as above */
72 sizeof(asn_DEF_ConnectBankReq_tags_1)
73 /sizeof(asn_DEF_ConnectBankReq_tags_1[0]), /* 1 */
74 0, /* No PER visible constraints */
75 asn_MBR_ConnectBankReq_1,
76 3, /* Elements count */
77 &asn_SPC_ConnectBankReq_specs_1 /* Additional specs */
78};
79