remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / GSMTime.c
blob379ef1cb48c52d1bd3bd371c3af6a65eb25c8255
1 /*
2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "RRLP-Components"
4 * found in "../asn1src/RRLP-Components.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
6 */
8 #include "GSMTime.h"
10 static asn_TYPE_member_t asn_MBR_GSMTime_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct GSMTime, bcchCarrier),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_BCCHCarrier,
15 0, /* Defer constraints checking to the member type */
16 0, /* No PER visible constraints */
18 "bcchCarrier"
20 { ATF_NOFLAGS, 0, offsetof(struct GSMTime, bsic),
21 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_BSIC,
24 0, /* Defer constraints checking to the member type */
25 0, /* No PER visible constraints */
27 "bsic"
29 { ATF_NOFLAGS, 0, offsetof(struct GSMTime, frameNumber),
30 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_FrameNumber,
33 0, /* Defer constraints checking to the member type */
34 0, /* No PER visible constraints */
36 "frameNumber"
38 { ATF_NOFLAGS, 0, offsetof(struct GSMTime, timeSlot),
39 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_TimeSlot,
42 0, /* Defer constraints checking to the member type */
43 0, /* No PER visible constraints */
45 "timeSlot"
47 { ATF_NOFLAGS, 0, offsetof(struct GSMTime, bitNumber),
48 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
49 -1, /* IMPLICIT tag at current level */
50 &asn_DEF_BitNumber,
51 0, /* Defer constraints checking to the member type */
52 0, /* No PER visible constraints */
54 "bitNumber"
57 static ber_tlv_tag_t asn_DEF_GSMTime_tags_1[] = {
58 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
60 static asn_TYPE_tag2member_t asn_MAP_GSMTime_tag2el_1[] = {
61 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bcchCarrier at 640 */
62 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* bsic at 641 */
63 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* frameNumber at 642 */
64 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* timeSlot at 643 */
65 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* bitNumber at 645 */
67 static asn_SEQUENCE_specifics_t asn_SPC_GSMTime_specs_1 = {
68 sizeof(struct GSMTime),
69 offsetof(struct GSMTime, _asn_ctx),
70 asn_MAP_GSMTime_tag2el_1,
71 5, /* Count of tags in the map */
72 0, 0, 0, /* Optional elements (not needed) */
73 -1, /* Start extensions */
74 -1 /* Stop extensions */
76 asn_TYPE_descriptor_t asn_DEF_GSMTime = {
77 "GSMTime",
78 "GSMTime",
79 SEQUENCE_free,
80 SEQUENCE_print,
81 SEQUENCE_constraint,
82 SEQUENCE_decode_ber,
83 SEQUENCE_encode_der,
84 SEQUENCE_decode_xer,
85 SEQUENCE_encode_xer,
86 SEQUENCE_decode_uper,
87 SEQUENCE_encode_uper,
88 0, /* Use generic outmost tag fetcher */
89 asn_DEF_GSMTime_tags_1,
90 sizeof(asn_DEF_GSMTime_tags_1)
91 /sizeof(asn_DEF_GSMTime_tags_1[0]), /* 1 */
92 asn_DEF_GSMTime_tags_1, /* Same as above */
93 sizeof(asn_DEF_GSMTime_tags_1)
94 /sizeof(asn_DEF_GSMTime_tags_1[0]), /* 1 */
95 0, /* No PER visible constraints */
96 asn_MBR_GSMTime_1,
97 5, /* Elements count */
98 &asn_SPC_GSMTime_specs_1 /* Additional specs */