cam_ts_EXTERNAL.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "ASN1C-UsefulInformationObjectClasses"
4  * found in "/usr/local/share/asn1c/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1"
5  * `asn1c -fcompound-names -fprefix=cam_ts_ -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-example -gen-UPER -gen-JER`
6  */
7 
9 
10 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
11 static asn_per_constraints_t asn_PER_type_cam_ts_encoding_constr_5 CC_NOTUSED = {
12  { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */,
13  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
14  0, 0 /* No PER value map */
15 };
16 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
18  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_EXTERNAL__encoding, choice.single_ASN1_type),
19  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20  +1, /* EXPLICIT tag at current level */
21  &asn_DEF_ANY,
22  0,
23  {
24 #if !defined(ASN_DISABLE_OER_SUPPORT)
25  0,
26 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
27 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
28  0,
29 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
30 #if !defined(ASN_DISABLE_JER_SUPPORT)
31  0,
32 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
33  0
34  },
35  0, 0, /* No default value */
36  "single-ASN1-type"
37  },
38  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_EXTERNAL__encoding, choice.octet_aligned),
39  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40  -1, /* IMPLICIT tag at current level */
42  0,
43  {
44 #if !defined(ASN_DISABLE_OER_SUPPORT)
45  0,
46 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
47 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
48  0,
49 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
50 #if !defined(ASN_DISABLE_JER_SUPPORT)
51  0,
52 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
53  0
54  },
55  0, 0, /* No default value */
56  "octet-aligned"
57  },
58  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_EXTERNAL__encoding, choice.arbitrary),
59  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
60  -1, /* IMPLICIT tag at current level */
62  0,
63  {
64 #if !defined(ASN_DISABLE_OER_SUPPORT)
65  0,
66 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
67 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
68  0,
69 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
70 #if !defined(ASN_DISABLE_JER_SUPPORT)
71  0,
72 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
73  0
74  },
75  0, 0, /* No default value */
76  "arbitrary"
77  },
78 };
80  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* single-ASN1-type */
81  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* octet-aligned */
82  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* arbitrary */
83 };
85  sizeof(struct cam_ts_EXTERNAL__encoding),
86  offsetof(struct cam_ts_EXTERNAL__encoding, _asn_ctx),
87  offsetof(struct cam_ts_EXTERNAL__encoding, present),
88  sizeof(((struct cam_ts_EXTERNAL__encoding *)0)->present),
90  3, /* Count of tags in the map */
91  0, 0,
92  -1 /* Extensions start */
93 };
94 static /* Use -fall-defs-global to expose */
96  "encoding",
97  "encoding",
99  0, /* No effective tags (pointer) */
100  0, /* No effective tags (count) */
101  0, /* No tags (pointer) */
102  0, /* No tags (count) */
103  {
104 #if !defined(ASN_DISABLE_OER_SUPPORT)
105  0,
106 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
107 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
108  &asn_PER_type_cam_ts_encoding_constr_5,
109 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
110 #if !defined(ASN_DISABLE_JER_SUPPORT)
111  0,
112 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
114  },
116  3, /* Elements count */
117  &asn_SPC_cam_ts_encoding_specs_5 /* Additional specs */
118 };
119 
121  { ATF_POINTER, 3, offsetof(struct cam_ts_EXTERNAL, direct_reference),
122  (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
123  0,
125  0,
126  {
127 #if !defined(ASN_DISABLE_OER_SUPPORT)
128  0,
129 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
130 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
131  0,
132 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
133 #if !defined(ASN_DISABLE_JER_SUPPORT)
134  0,
135 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
136  0
137  },
138  0, 0, /* No default value */
139  "direct-reference"
140  },
141  { ATF_POINTER, 2, offsetof(struct cam_ts_EXTERNAL, indirect_reference),
142  (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
143  0,
145  0,
146  {
147 #if !defined(ASN_DISABLE_OER_SUPPORT)
148  0,
149 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
150 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
151  0,
152 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
153 #if !defined(ASN_DISABLE_JER_SUPPORT)
154  0,
155 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
156  0
157  },
158  0, 0, /* No default value */
159  "indirect-reference"
160  },
161  { ATF_POINTER, 1, offsetof(struct cam_ts_EXTERNAL, data_value_descriptor),
162  (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)),
163  0,
165  0,
166  {
167 #if !defined(ASN_DISABLE_OER_SUPPORT)
168  0,
169 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
170 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
171  0,
172 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
173 #if !defined(ASN_DISABLE_JER_SUPPORT)
174  0,
175 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
176  0
177  },
178  0, 0, /* No default value */
179  "data-value-descriptor"
180  },
181  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_EXTERNAL, encoding),
182  -1 /* Ambiguous tag (CHOICE?) */,
183  0,
185  0,
186  {
187 #if !defined(ASN_DISABLE_OER_SUPPORT)
188  0,
189 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
190 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
191  0,
192 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
193 #if !defined(ASN_DISABLE_JER_SUPPORT)
194  0,
195 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
196  0
197  },
198  0, 0, /* No default value */
199  "encoding"
200  },
201 };
202 static const int asn_MAP_cam_ts_EXTERNAL_oms_1[] = { 0, 1, 2 };
204  (ASN_TAG_CLASS_UNIVERSAL | (8 << 2)),
205  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
206 };
208  { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* indirect-reference */
209  { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 0 }, /* direct-reference */
210  { (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)), 2, 0, 0 }, /* data-value-descriptor */
211  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 3, 0, 0 }, /* single-ASN1-type */
212  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 3, 0, 0 }, /* octet-aligned */
213  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 3, 0, 0 } /* arbitrary */
214 };
216  sizeof(struct cam_ts_EXTERNAL),
219  6, /* Count of tags in the map */
220  asn_MAP_cam_ts_EXTERNAL_oms_1, /* Optional members */
221  3, 0, /* Root/Additions */
222  -1, /* First extension addition */
223 };
225  "EXTERNAL",
226  "EXTERNAL",
230  /sizeof(asn_DEF_cam_ts_EXTERNAL_tags_1[0]) - 1, /* 1 */
231  asn_DEF_cam_ts_EXTERNAL_tags_1, /* Same as above */
233  /sizeof(asn_DEF_cam_ts_EXTERNAL_tags_1[0]), /* 2 */
234  {
235 #if !defined(ASN_DISABLE_OER_SUPPORT)
236  0,
237 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
238 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
239  0,
240 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
241 #if !defined(ASN_DISABLE_JER_SUPPORT)
242  0,
243 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
245  },
247  4, /* Elements count */
248  &asn_SPC_cam_ts_EXTERNAL_specs_1 /* Additional specs */
249 };
250 
asn_OP_SEQUENCE
asn_TYPE_operation_t asn_OP_SEQUENCE
Definition: constr_SEQUENCE.c:9
asn_OP_CHOICE
asn_TYPE_operation_t asn_OP_CHOICE
Definition: constr_CHOICE.c:8
asn_SPC_cam_ts_encoding_specs_5
static asn_CHOICE_specifics_t asn_SPC_cam_ts_encoding_specs_5
Definition: cam_ts_EXTERNAL.c:84
asn_SPC_cam_ts_EXTERNAL_specs_1
static asn_SEQUENCE_specifics_t asn_SPC_cam_ts_EXTERNAL_specs_1
Definition: cam_ts_EXTERNAL.c:215
asn_MAP_cam_ts_EXTERNAL_oms_1
static const int asn_MAP_cam_ts_EXTERNAL_oms_1[]
Definition: cam_ts_EXTERNAL.c:202
ASN_TAG_CLASS_CONTEXT
@ ASN_TAG_CLASS_CONTEXT
Definition: ber_tlv_tag.h:15
ber_tlv_tag_t
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18
ASN_TAG_CLASS_UNIVERSAL
@ ASN_TAG_CLASS_UNIVERSAL
Definition: ber_tlv_tag.h:13
asn_DEF_cam_ts_EXTERNAL_tags_1
static const ber_tlv_tag_t asn_DEF_cam_ts_EXTERNAL_tags_1[]
Definition: cam_ts_EXTERNAL.c:203
asn_DEF_ANY
asn_TYPE_descriptor_t asn_DEF_ANY
Definition: ANY.c:67
asn_CHOICE_specifics_s
Definition: constr_CHOICE.h:14
asn_DEF_BIT_STRING
asn_TYPE_descriptor_t asn_DEF_BIT_STRING
Definition: BIT_STRING.c:77
asn_MAP_cam_ts_encoding_tag2el_5
static const asn_TYPE_tag2member_t asn_MAP_cam_ts_encoding_tag2el_5[]
Definition: cam_ts_EXTERNAL.c:79
asn_TYPE_tag2member_s
Definition: constr_TYPE.h:289
ATF_POINTER
@ ATF_POINTER
Definition: constr_TYPE.h:268
SEQUENCE_constraint
asn_constr_check_f SEQUENCE_constraint
Definition: constr_SEQUENCE.h:56
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
offsetof
#define offsetof(s, m)
Definition: asn_system.h:132
asn_MAP_cam_ts_EXTERNAL_tag2el_1
static const asn_TYPE_tag2member_t asn_MAP_cam_ts_EXTERNAL_tag2el_1[]
Definition: cam_ts_EXTERNAL.c:207
cam_ts_EXTERNAL.h
asn_DEF_OCTET_STRING
asn_TYPE_descriptor_t asn_DEF_OCTET_STRING
Definition: OCTET_STRING.c:79
cam_ts_EXTERNAL
Definition: cam_ts_EXTERNAL.h:37
asn_MBR_cam_ts_EXTERNAL_1
static asn_TYPE_member_t asn_MBR_cam_ts_EXTERNAL_1[]
Definition: cam_ts_EXTERNAL.c:120
asn_DEF_NativeInteger
asn_TYPE_descriptor_t asn_DEF_NativeInteger
Definition: NativeInteger.c:80
asn_DEF_ObjectDescriptor
asn_TYPE_descriptor_t asn_DEF_ObjectDescriptor
Definition: ObjectDescriptor.c:73
CHOICE_constraint
asn_constr_check_f CHOICE_constraint
Definition: constr_CHOICE.h:51
asn_DEF_cam_ts_encoding_5
static asn_TYPE_descriptor_t asn_DEF_cam_ts_encoding_5
Definition: cam_ts_EXTERNAL.c:95
ATF_NOFLAGS
@ ATF_NOFLAGS
Definition: constr_TYPE.h:267
CC_NOTUSED
static asn_per_constraints_t asn_PER_type_cam_ts_encoding_constr_5 CC_NOTUSED
Definition: cam_ts_EXTERNAL.c:11
asn_SEQUENCE_specifics_s
Definition: constr_SEQUENCE.h:14
asn_per_constraints_s
Definition: per_support.h:30
asn_TYPE_member_s
Definition: constr_TYPE.h:272
asn_DEF_OBJECT_IDENTIFIER
asn_TYPE_descriptor_t asn_DEF_OBJECT_IDENTIFIER
Definition: OBJECT_IDENTIFIER.c:77
asn_MBR_cam_ts_encoding_5
static asn_TYPE_member_t asn_MBR_cam_ts_encoding_5[]
Definition: cam_ts_EXTERNAL.c:17
cam_ts_EXTERNAL::_asn_ctx
asn_struct_ctx_t _asn_ctx
Definition: cam_ts_EXTERNAL.h:54
asn_DEF_cam_ts_EXTERNAL
asn_TYPE_descriptor_t asn_DEF_cam_ts_EXTERNAL
Definition: cam_ts_EXTERNAL.c:224


etsi_its_cam_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:21:22