blob: 1a579debe00b409393c2021ef62edf3883f5db65 [file] [log] [blame]
Lev Walkina9cc46e2004-09-22 16:06:28 +00001
2/*** <<< INCLUDES [Programming] >>> ***/
3
4#include <Fault.h>
5#include <asn_SEQUENCE_OF.h>
6#include <constr_SEQUENCE_OF.h>
7
8/*** <<< DEPS [Programming] >>> ***/
9
Lev Walkindfae9752004-09-29 13:19:37 +000010extern asn_TYPE_descriptor_t asn_DEF_Programming;
Lev Walkina9cc46e2004-09-22 16:06:28 +000011
12/*** <<< TYPE-DECLS [Programming] >>> ***/
13
14
15typedef struct Programming {
16 A_SEQUENCE_OF(Fault_t) list;
17
18 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000019 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000020} Programming_t;
21
22/*** <<< STAT-DEFS [Programming] >>> ***/
23
Lev Walkine0272aa2005-03-04 11:26:08 +000024static asn_TYPE_member_t asn_MBR_Programming_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000025 { ATF_NOFLAGS, 0, 0,
26 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
27 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkindfae9752004-09-29 13:19:37 +000028 .type = (void *)&asn_DEF_Fault,
Lev Walkinba58e1b2005-01-17 12:20:19 +000029 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkina9cc46e2004-09-22 16:06:28 +000030 .name = ""
31 },
32};
Lev Walkine0272aa2005-03-04 11:26:08 +000033static ber_tlv_tag_t asn_DEF_Programming_1_tags[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000034 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
35};
Lev Walkine0272aa2005-03-04 11:26:08 +000036static asn_SET_OF_specifics_t asn_SPC_Programming_1_specs = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000037 sizeof(struct Programming),
Lev Walkindfae9752004-09-29 13:19:37 +000038 offsetof(struct Programming, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +000039 0, /* XER encoding is XMLDelimitedItemList */
40};
Lev Walkindfae9752004-09-29 13:19:37 +000041asn_TYPE_descriptor_t asn_DEF_Programming = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000042 "Programming",
Lev Walkindc06f6b2004-10-20 15:50:55 +000043 "Programming",
Lev Walkina9cc46e2004-09-22 16:06:28 +000044 SEQUENCE_OF_free,
45 SEQUENCE_OF_print,
46 SEQUENCE_OF_constraint,
47 SEQUENCE_OF_decode_ber,
48 SEQUENCE_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +000049 SEQUENCE_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +000050 SEQUENCE_OF_encode_xer,
51 0, /* Use generic outmost tag fetcher */
Lev Walkine0272aa2005-03-04 11:26:08 +000052 asn_DEF_Programming_1_tags,
53 sizeof(asn_DEF_Programming_1_tags)
54 /sizeof(asn_DEF_Programming_1_tags[0]), /* 1 */
55 asn_DEF_Programming_1_tags, /* Same as above */
56 sizeof(asn_DEF_Programming_1_tags)
57 /sizeof(asn_DEF_Programming_1_tags[0]), /* 1 */
58 asn_MBR_Programming_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +000059 1, /* Single element */
Lev Walkine0272aa2005-03-04 11:26:08 +000060 &asn_SPC_Programming_1_specs /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +000061};
62
63
64/*** <<< INCLUDES [Fault] >>> ***/
65
66#include <Error.h>
67#include <asn_SET_OF.h>
68#include <constr_SET_OF.h>
69
70/*** <<< DEPS [Fault] >>> ***/
71
Lev Walkindfae9752004-09-29 13:19:37 +000072extern asn_TYPE_descriptor_t asn_DEF_Fault;
Lev Walkina9cc46e2004-09-22 16:06:28 +000073
74/*** <<< TYPE-DECLS [Fault] >>> ***/
75
76
77typedef struct Fault {
78 A_SET_OF(Error_t) list;
79
80 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000081 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +000082} Fault_t;
83
84/*** <<< STAT-DEFS [Fault] >>> ***/
85
Lev Walkine0272aa2005-03-04 11:26:08 +000086static asn_TYPE_member_t asn_MBR_Fault_1[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000087 { ATF_NOFLAGS, 0, 0,
88 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
89 .tag_mode = 0,
Lev Walkindfae9752004-09-29 13:19:37 +000090 .type = (void *)&asn_DEF_Error,
Lev Walkinba58e1b2005-01-17 12:20:19 +000091 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkina9cc46e2004-09-22 16:06:28 +000092 .name = ""
93 },
94};
Lev Walkine0272aa2005-03-04 11:26:08 +000095static ber_tlv_tag_t asn_DEF_Fault_1_tags[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000096 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
97};
Lev Walkine0272aa2005-03-04 11:26:08 +000098static asn_SET_OF_specifics_t asn_SPC_Fault_1_specs = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000099 sizeof(struct Fault),
Lev Walkindfae9752004-09-29 13:19:37 +0000100 offsetof(struct Fault, _asn_ctx),
Lev Walkina9cc46e2004-09-22 16:06:28 +0000101 0, /* XER encoding is XMLDelimitedItemList */
102};
Lev Walkindfae9752004-09-29 13:19:37 +0000103asn_TYPE_descriptor_t asn_DEF_Fault = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000104 "Fault",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000105 "Fault",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000106 SET_OF_free,
107 SET_OF_print,
108 SET_OF_constraint,
109 SET_OF_decode_ber,
110 SET_OF_encode_der,
Lev Walkinb2230802005-02-14 20:31:31 +0000111 SET_OF_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000112 SET_OF_encode_xer,
113 0, /* Use generic outmost tag fetcher */
Lev Walkine0272aa2005-03-04 11:26:08 +0000114 asn_DEF_Fault_1_tags,
115 sizeof(asn_DEF_Fault_1_tags)
116 /sizeof(asn_DEF_Fault_1_tags[0]), /* 1 */
117 asn_DEF_Fault_1_tags, /* Same as above */
118 sizeof(asn_DEF_Fault_1_tags)
119 /sizeof(asn_DEF_Fault_1_tags[0]), /* 1 */
120 asn_MBR_Fault_1,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000121 1, /* Single element */
Lev Walkine0272aa2005-03-04 11:26:08 +0000122 &asn_SPC_Fault_1_specs /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000123};
124
125
126/*** <<< INCLUDES [Error] >>> ***/
127
128#include <constr_SEQUENCE.h>
129
130/*** <<< DEPS [Error] >>> ***/
131
Lev Walkindfae9752004-09-29 13:19:37 +0000132extern asn_TYPE_descriptor_t asn_DEF_Error;
Lev Walkina9cc46e2004-09-22 16:06:28 +0000133
134/*** <<< TYPE-DECLS [Error] >>> ***/
135
136
137typedef struct Error {
138 /*
139 * This type is extensible,
140 * possible extensions are below.
141 */
142
143 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +0000144 asn_struct_ctx_t _asn_ctx;
Lev Walkina9cc46e2004-09-22 16:06:28 +0000145} Error_t;
146
147/*** <<< STAT-DEFS [Error] >>> ***/
148
Lev Walkine0272aa2005-03-04 11:26:08 +0000149static ber_tlv_tag_t asn_DEF_Error_1_tags[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000150 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
151};
Lev Walkine0272aa2005-03-04 11:26:08 +0000152static asn_TYPE_tag2member_t asn_MAP_Error_1_tag2el[] = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000153};
Lev Walkine0272aa2005-03-04 11:26:08 +0000154static asn_SEQUENCE_specifics_t asn_SPC_Error_1_specs = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000155 sizeof(struct Error),
Lev Walkindfae9752004-09-29 13:19:37 +0000156 offsetof(struct Error, _asn_ctx),
Lev Walkine0272aa2005-03-04 11:26:08 +0000157 asn_MAP_Error_1_tag2el,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000158 0, /* Count of tags in the map */
159 -1, /* Start extensions */
160 -1 /* Stop extensions */
161};
Lev Walkindfae9752004-09-29 13:19:37 +0000162asn_TYPE_descriptor_t asn_DEF_Error = {
Lev Walkina9cc46e2004-09-22 16:06:28 +0000163 "Error",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000164 "Error",
Lev Walkina9cc46e2004-09-22 16:06:28 +0000165 SEQUENCE_free,
166 SEQUENCE_print,
167 SEQUENCE_constraint,
168 SEQUENCE_decode_ber,
169 SEQUENCE_encode_der,
Lev Walkin61b40d82004-10-23 15:07:45 +0000170 SEQUENCE_decode_xer,
Lev Walkina9cc46e2004-09-22 16:06:28 +0000171 SEQUENCE_encode_xer,
172 0, /* Use generic outmost tag fetcher */
Lev Walkine0272aa2005-03-04 11:26:08 +0000173 asn_DEF_Error_1_tags,
174 sizeof(asn_DEF_Error_1_tags)
175 /sizeof(asn_DEF_Error_1_tags[0]), /* 1 */
176 asn_DEF_Error_1_tags, /* Same as above */
177 sizeof(asn_DEF_Error_1_tags)
178 /sizeof(asn_DEF_Error_1_tags[0]), /* 1 */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000179 0, 0, /* No members */
Lev Walkine0272aa2005-03-04 11:26:08 +0000180 &asn_SPC_Error_1_specs /* Additional specs */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000181};
182