blob: 9d4a445422d93dd1e046115bb66c9c35f1234a73 [file] [log] [blame]
Lev Walkina9cc46e2004-09-22 16:06:28 +00001
2/*** <<< INCLUDES [Programming] >>> ***/
3
Lev Walkina9cc46e2004-09-22 16:06:28 +00004#include <asn_SEQUENCE_OF.h>
5#include <constr_SEQUENCE_OF.h>
6
Lev Walkinc8285712005-03-04 22:18:20 +00007/*** <<< FWD-DECLS [Programming] >>> ***/
Lev Walkina9cc46e2004-09-22 16:06:28 +00008
Lev Walkinbf56d542005-03-04 23:50:56 +00009struct Fault;
Lev Walkina9cc46e2004-09-22 16:06:28 +000010
11/*** <<< TYPE-DECLS [Programming] >>> ***/
12
Lev Walkina9cc46e2004-09-22 16:06:28 +000013typedef struct Programming {
Lev Walkinc8285712005-03-04 22:18:20 +000014 A_SEQUENCE_OF(struct Fault) list;
Lev Walkina9cc46e2004-09-22 16:06:28 +000015
16 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000017 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000018} Programming_t;
19
Lev Walkinc8285712005-03-04 22:18:20 +000020/*** <<< FUNC-DECLS [Programming] >>> ***/
21
22extern asn_TYPE_descriptor_t asn_DEF_Programming;
23
24/*** <<< POST-INCLUDE [Programming] >>> ***/
25
26#include <Fault.h>
27
Lev Walkina9cc46e2004-09-22 16:06:28 +000028/*** <<< STAT-DEFS [Programming] >>> ***/
29
Lev Walkine0272aa2005-03-04 11:26:08 +000030static asn_TYPE_member_t asn_MBR_Programming_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000031 { ATF_NOFLAGS, 0, 0,
32 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
33 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkindfae9752004-09-29 13:19:37 +000034 .type = (void *)&asn_DEF_Fault,
Lev Walkinba58e1b2005-01-17 12:20:19 +000035 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkina9cc46e2004-09-22 16:06:28 +000036 .name = ""
37 },
38};
Lev Walkine0272aa2005-03-04 11:26:08 +000039static ber_tlv_tag_t asn_DEF_Programming_1_tags[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000040 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
41};
Lev Walkine0272aa2005-03-04 11:26:08 +000042static asn_SET_OF_specifics_t asn_SPC_Programming_1_specs = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000043 sizeof(struct Programming),
Lev Walkindfae9752004-09-29 13:19:37 +000044 offsetof(struct Programming, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +000045 0, /* XER encoding is XMLDelimitedItemList */
46};
Lev Walkindfae9752004-09-29 13:19:37 +000047asn_TYPE_descriptor_t asn_DEF_Programming = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000048 "Programming",
Lev Walkindc06f6b2004-10-20 15:50:55 +000049 "Programming",
Lev Walkina9cc46e2004-09-22 16:06:28 +000050 SEQUENCE_OF_free,
51 SEQUENCE_OF_print,
52 SEQUENCE_OF_constraint,
53 SEQUENCE_OF_decode_ber,
54 SEQUENCE_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +000055 SEQUENCE_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +000056 SEQUENCE_OF_encode_xer,
57 0, /* Use generic outmost tag fetcher */
Lev Walkine0272aa2005-03-04 11:26:08 +000058 asn_DEF_Programming_1_tags,
59 sizeof(asn_DEF_Programming_1_tags)
60 /sizeof(asn_DEF_Programming_1_tags[0]), /* 1 */
61 asn_DEF_Programming_1_tags, /* Same as above */
62 sizeof(asn_DEF_Programming_1_tags)
63 /sizeof(asn_DEF_Programming_1_tags[0]), /* 1 */
64 asn_MBR_Programming_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +000065 1, /* Single element */
Lev Walkine0272aa2005-03-04 11:26:08 +000066 &asn_SPC_Programming_1_specs /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +000067};
68
69
70/*** <<< INCLUDES [Fault] >>> ***/
71
Lev Walkina9cc46e2004-09-22 16:06:28 +000072#include <asn_SET_OF.h>
73#include <constr_SET_OF.h>
74
Lev Walkinc8285712005-03-04 22:18:20 +000075/*** <<< FWD-DECLS [Fault] >>> ***/
Lev Walkina9cc46e2004-09-22 16:06:28 +000076
Lev Walkinbf56d542005-03-04 23:50:56 +000077struct Error;
Lev Walkina9cc46e2004-09-22 16:06:28 +000078
79/*** <<< TYPE-DECLS [Fault] >>> ***/
80
Lev Walkina9cc46e2004-09-22 16:06:28 +000081typedef struct Fault {
Lev Walkinc8285712005-03-04 22:18:20 +000082 A_SET_OF(struct Error) list;
Lev Walkina9cc46e2004-09-22 16:06:28 +000083
84 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000085 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000086} Fault_t;
87
Lev Walkinc8285712005-03-04 22:18:20 +000088/*** <<< FUNC-DECLS [Fault] >>> ***/
89
90extern asn_TYPE_descriptor_t asn_DEF_Fault;
91
92/*** <<< POST-INCLUDE [Fault] >>> ***/
93
94#include <Error.h>
95
Lev Walkina9cc46e2004-09-22 16:06:28 +000096/*** <<< STAT-DEFS [Fault] >>> ***/
97
Lev Walkine0272aa2005-03-04 11:26:08 +000098static asn_TYPE_member_t asn_MBR_Fault_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000099 { ATF_NOFLAGS, 0, 0,
100 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
101 .tag_mode = 0,
Lev Walkindfae9752004-09-29 13:19:37 +0000102 .type = (void *)&asn_DEF_Error,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000103 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000104 .name = ""
105 },
106};
Lev Walkine0272aa2005-03-04 11:26:08 +0000107static ber_tlv_tag_t asn_DEF_Fault_1_tags[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000108 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
109};
Lev Walkine0272aa2005-03-04 11:26:08 +0000110static asn_SET_OF_specifics_t asn_SPC_Fault_1_specs = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000111 sizeof(struct Fault),
Lev Walkindfae9752004-09-29 13:19:37 +0000112 offsetof(struct Fault, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000113 0, /* XER encoding is XMLDelimitedItemList */
114};
Lev Walkindfae9752004-09-29 13:19:37 +0000115asn_TYPE_descriptor_t asn_DEF_Fault = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000116 "Fault",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000117 "Fault",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000118 SET_OF_free,
119 SET_OF_print,
120 SET_OF_constraint,
121 SET_OF_decode_ber,
122 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000123 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000124 SET_OF_encode_xer,
125 0, /* Use generic outmost tag fetcher */
Lev Walkine0272aa2005-03-04 11:26:08 +0000126 asn_DEF_Fault_1_tags,
127 sizeof(asn_DEF_Fault_1_tags)
128 /sizeof(asn_DEF_Fault_1_tags[0]), /* 1 */
129 asn_DEF_Fault_1_tags, /* Same as above */
130 sizeof(asn_DEF_Fault_1_tags)
131 /sizeof(asn_DEF_Fault_1_tags[0]), /* 1 */
132 asn_MBR_Fault_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000133 1, /* Single element */
Lev Walkine0272aa2005-03-04 11:26:08 +0000134 &asn_SPC_Fault_1_specs /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000135};
136
137
138/*** <<< INCLUDES [Error] >>> ***/
139
140#include <constr_SEQUENCE.h>
141
Lev Walkina9cc46e2004-09-22 16:06:28 +0000142/*** <<< TYPE-DECLS [Error] >>> ***/
143
Lev Walkina9cc46e2004-09-22 16:06:28 +0000144typedef struct Error {
145 /*
146 * This type is extensible,
147 * possible extensions are below.
148 */
149
150 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000151 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +0000152} Error_t;
153
Lev Walkinc8285712005-03-04 22:18:20 +0000154/*** <<< FUNC-DECLS [Error] >>> ***/
155
156extern asn_TYPE_descriptor_t asn_DEF_Error;
157
Lev Walkina9cc46e2004-09-22 16:06:28 +0000158/*** <<< STAT-DEFS [Error] >>> ***/
159
Lev Walkine0272aa2005-03-04 11:26:08 +0000160static ber_tlv_tag_t asn_DEF_Error_1_tags[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000161 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
162};
Lev Walkine0272aa2005-03-04 11:26:08 +0000163static asn_TYPE_tag2member_t asn_MAP_Error_1_tag2el[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000164};
Lev Walkine0272aa2005-03-04 11:26:08 +0000165static asn_SEQUENCE_specifics_t asn_SPC_Error_1_specs = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000166 sizeof(struct Error),
Lev Walkindfae9752004-09-29 13:19:37 +0000167 offsetof(struct Error, _asn_ctx),
Lev Walkine0272aa2005-03-04 11:26:08 +0000168 asn_MAP_Error_1_tag2el,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000169 0, /* Count of tags in the map */
170 -1, /* Start extensions */
171 -1 /* Stop extensions */
172};
Lev Walkindfae9752004-09-29 13:19:37 +0000173asn_TYPE_descriptor_t asn_DEF_Error = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000174 "Error",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000175 "Error",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000176 SEQUENCE_free,
177 SEQUENCE_print,
178 SEQUENCE_constraint,
179 SEQUENCE_decode_ber,
180 SEQUENCE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000181 SEQUENCE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000182 SEQUENCE_encode_xer,
183 0, /* Use generic outmost tag fetcher */
Lev Walkine0272aa2005-03-04 11:26:08 +0000184 asn_DEF_Error_1_tags,
185 sizeof(asn_DEF_Error_1_tags)
186 /sizeof(asn_DEF_Error_1_tags[0]), /* 1 */
187 asn_DEF_Error_1_tags, /* Same as above */
188 sizeof(asn_DEF_Error_1_tags)
189 /sizeof(asn_DEF_Error_1_tags[0]), /* 1 */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000190 0, 0, /* No members */
Lev Walkine0272aa2005-03-04 11:26:08 +0000191 &asn_SPC_Error_1_specs /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000192};
193