cam_ts_LowFrequencyContainer.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 "CAM-PDU-Descriptions"
4  * found in "/input/CAM-PDU-Descriptions.asn"
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 static int
12  asn_app_constraint_failed_f *ctfailcb, void *app_key) {
13 
14  if(!sptr) {
15  ASN__CTFAIL(app_key, td, sptr,
16  "%s: value not given (%s:%d)",
17  td->name, __FILE__, __LINE__);
18  return -1;
19  }
20 
21 
22  if(1 /* No applicable constraints whatsoever */) {
23  /* Nothing is here. See below */
24  }
25 
26  return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
27 }
28 
29 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
30 static asn_per_constraints_t asn_PER_memb_cam_ts_basicVehicleContainerLowFrequency_constr_2 CC_NOTUSED = {
31  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
33  0, 0 /* No PER value map */
34 };
35 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
36 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
38  { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
39  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
40  0, 0 /* No PER value map */
41 };
42 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
44  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_LowFrequencyContainer, choice.basicVehicleContainerLowFrequency),
45  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
46  -1, /* IMPLICIT tag at current level */
48  0,
49  {
50 #if !defined(ASN_DISABLE_OER_SUPPORT)
51  0,
52 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
53 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
54  &asn_PER_memb_cam_ts_basicVehicleContainerLowFrequency_constr_2,
55 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
56 #if !defined(ASN_DISABLE_JER_SUPPORT)
57  0,
58 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
60  },
61  0, 0, /* No default value */
62  "basicVehicleContainerLowFrequency"
63  },
64 };
66  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* basicVehicleContainerLowFrequency */
67 };
69  sizeof(struct cam_ts_LowFrequencyContainer),
72  sizeof(((struct cam_ts_LowFrequencyContainer *)0)->present),
74  1, /* Count of tags in the map */
75  0, 0,
76  1 /* Extensions start */
77 };
79  "LowFrequencyContainer",
80  "LowFrequencyContainer",
82  0, /* No effective tags (pointer) */
83  0, /* No effective tags (count) */
84  0, /* No tags (pointer) */
85  0, /* No tags (count) */
86  {
87 #if !defined(ASN_DISABLE_OER_SUPPORT)
88  0,
89 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
90 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
92 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
93 #if !defined(ASN_DISABLE_JER_SUPPORT)
94  0,
95 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
97  },
99  1, /* Elements count */
100  &asn_SPC_cam_ts_LowFrequencyContainer_specs_1 /* Additional specs */
101 };
102 
cam_ts_LowFrequencyContainer
Definition: cam_ts_LowFrequencyContainer.h:31
asn_OP_CHOICE
asn_TYPE_operation_t asn_OP_CHOICE
Definition: constr_CHOICE.c:8
asn_PER_type_cam_ts_LowFrequencyContainer_constr_1
asn_per_constraints_t asn_PER_type_cam_ts_LowFrequencyContainer_constr_1
asn_app_constraint_failed_f
void() asn_app_constraint_failed_f(void *application_specific_key, const struct asn_TYPE_descriptor_s *type_descriptor_which_failed, const void *structure_which_failed_ptr, const char *error_message_format,...) CC_PRINTFLIKE(4
Definition: asn_application.h:167
cam_ts_LowFrequencyContainer::present
cam_ts_LowFrequencyContainer_PR present
Definition: cam_ts_LowFrequencyContainer.h:32
ASN_TAG_CLASS_CONTEXT
@ ASN_TAG_CLASS_CONTEXT
Definition: ber_tlv_tag.h:15
memb_cam_ts_basicVehicleContainerLowFrequency_constraint_1
static int memb_cam_ts_basicVehicleContainerLowFrequency_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key)
Definition: cam_ts_LowFrequencyContainer.c:11
asn_TYPE_descriptor_s::name
const char * name
Definition: constr_TYPE.h:225
asn_DEF_cam_ts_BasicVehicleContainerLowFrequency
asn_TYPE_descriptor_t asn_DEF_cam_ts_BasicVehicleContainerLowFrequency
Definition: cam_ts_BasicVehicleContainerLowFrequency.c:88
asn_MBR_cam_ts_LowFrequencyContainer_1
asn_TYPE_member_t asn_MBR_cam_ts_LowFrequencyContainer_1[]
Definition: cam_ts_LowFrequencyContainer.c:43
asn_CHOICE_specifics_s
Definition: constr_CHOICE.h:14
asn_TYPE_tag2member_s
Definition: constr_TYPE.h:289
asn_SPC_cam_ts_LowFrequencyContainer_specs_1
asn_CHOICE_specifics_t asn_SPC_cam_ts_LowFrequencyContainer_specs_1
Definition: cam_ts_LowFrequencyContainer.c:68
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
offsetof
#define offsetof(s, m)
Definition: asn_system.h:132
CHOICE_constraint
asn_constr_check_f CHOICE_constraint
Definition: constr_CHOICE.h:51
ATF_NOFLAGS
@ ATF_NOFLAGS
Definition: constr_TYPE.h:267
asn_MAP_cam_ts_LowFrequencyContainer_tag2el_1
static const asn_TYPE_tag2member_t asn_MAP_cam_ts_LowFrequencyContainer_tag2el_1[]
Definition: cam_ts_LowFrequencyContainer.c:65
ASN__CTFAIL
#define ASN__CTFAIL
Definition: constraints.h:57
asn_encoding_constraints_s::general_constraints
asn_constr_check_f * general_constraints
Definition: constr_TYPE.h:218
cam_ts_LowFrequencyContainer.h
asn_per_constraints_s
Definition: per_support.h:30
cam_ts_LowFrequencyContainer::_asn_ctx
asn_struct_ctx_t _asn_ctx
Definition: cam_ts_LowFrequencyContainer.h:42
asn_TYPE_member_s
Definition: constr_TYPE.h:272
asn_TYPE_descriptor_s::encoding_constraints
asn_encoding_constraints_t encoding_constraints
Definition: constr_TYPE.h:247
CC_NOTUSED
static asn_per_constraints_t asn_PER_memb_cam_ts_basicVehicleContainerLowFrequency_constr_2 CC_NOTUSED
Definition: cam_ts_LowFrequencyContainer.c:30
asn_DEF_cam_ts_LowFrequencyContainer
asn_TYPE_descriptor_t asn_DEF_cam_ts_LowFrequencyContainer
Definition: cam_ts_LowFrequencyContainer.c:78


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