blob: e258529d95429f12a87232cc0ac73a635118f2c2 [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
10extern asn1_TYPE_descriptor_t asn1_DEF_Programming;
11
12/*** <<< TYPE-DECLS [Programming] >>> ***/
13
14
15typedef struct Programming {
16 A_SEQUENCE_OF(Fault_t) list;
17
18 /* Context for parsing across buffer boundaries */
19 ber_dec_ctx_t _ber_dec_ctx;
20} Programming_t;
21
22/*** <<< STAT-DEFS [Programming] >>> ***/
23
24static asn1_TYPE_member_t asn1_MBR_Programming[] = {
25 { ATF_NOFLAGS, 0, 0,
26 .tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
27 .tag_mode = -1, /* IMPLICIT tag at current level */
28 .type = (void *)&asn1_DEF_Fault,
29 .memb_constraints = 0, /* Defer to actual type */
30 .name = ""
31 },
32};
33static ber_tlv_tag_t asn1_DEF_Programming_tags[] = {
34 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
35};
36static asn1_SET_OF_specifics_t asn1_DEF_Programming_specs = {
37 sizeof(struct Programming),
38 offsetof(struct Programming, _ber_dec_ctx),
39 0, /* XER encoding is XMLDelimitedItemList */
40};
41asn1_TYPE_descriptor_t asn1_DEF_Programming = {
42 "Programming",
43 SEQUENCE_OF_free,
44 SEQUENCE_OF_print,
45 SEQUENCE_OF_constraint,
46 SEQUENCE_OF_decode_ber,
47 SEQUENCE_OF_encode_der,
48 0, /* Not implemented yet */
49 SEQUENCE_OF_encode_xer,
50 0, /* Use generic outmost tag fetcher */
51 asn1_DEF_Programming_tags,
52 sizeof(asn1_DEF_Programming_tags)
53 /sizeof(asn1_DEF_Programming_tags[0]), /* 1 */
54 asn1_DEF_Programming_tags, /* Same as above */
55 sizeof(asn1_DEF_Programming_tags)
56 /sizeof(asn1_DEF_Programming_tags[0]), /* 1 */
Lev Walkina9cc46e2004-09-22 16:06:28 +000057 asn1_MBR_Programming,
58 1, /* Single element */
59 &asn1_DEF_Programming_specs /* Additional specs */
60};
61
62
63/*** <<< INCLUDES [Fault] >>> ***/
64
65#include <Error.h>
66#include <asn_SET_OF.h>
67#include <constr_SET_OF.h>
68
69/*** <<< DEPS [Fault] >>> ***/
70
71extern asn1_TYPE_descriptor_t asn1_DEF_Fault;
72
73/*** <<< TYPE-DECLS [Fault] >>> ***/
74
75
76typedef struct Fault {
77 A_SET_OF(Error_t) list;
78
79 /* Context for parsing across buffer boundaries */
80 ber_dec_ctx_t _ber_dec_ctx;
81} Fault_t;
82
83/*** <<< STAT-DEFS [Fault] >>> ***/
84
85static asn1_TYPE_member_t asn1_MBR_Fault[] = {
86 { ATF_NOFLAGS, 0, 0,
87 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
88 .tag_mode = 0,
89 .type = (void *)&asn1_DEF_Error,
90 .memb_constraints = 0, /* Defer to actual type */
91 .name = ""
92 },
93};
94static ber_tlv_tag_t asn1_DEF_Fault_tags[] = {
95 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
96};
97static asn1_SET_OF_specifics_t asn1_DEF_Fault_specs = {
98 sizeof(struct Fault),
99 offsetof(struct Fault, _ber_dec_ctx),
100 0, /* XER encoding is XMLDelimitedItemList */
101};
102asn1_TYPE_descriptor_t asn1_DEF_Fault = {
103 "Fault",
104 SET_OF_free,
105 SET_OF_print,
106 SET_OF_constraint,
107 SET_OF_decode_ber,
108 SET_OF_encode_der,
109 0, /* Not implemented yet */
110 SET_OF_encode_xer,
111 0, /* Use generic outmost tag fetcher */
112 asn1_DEF_Fault_tags,
113 sizeof(asn1_DEF_Fault_tags)
114 /sizeof(asn1_DEF_Fault_tags[0]), /* 1 */
115 asn1_DEF_Fault_tags, /* Same as above */
116 sizeof(asn1_DEF_Fault_tags)
117 /sizeof(asn1_DEF_Fault_tags[0]), /* 1 */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000118 asn1_MBR_Fault,
119 1, /* Single element */
120 &asn1_DEF_Fault_specs /* Additional specs */
121};
122
123
124/*** <<< INCLUDES [Error] >>> ***/
125
126#include <constr_SEQUENCE.h>
127
128/*** <<< DEPS [Error] >>> ***/
129
130extern asn1_TYPE_descriptor_t asn1_DEF_Error;
131
132/*** <<< TYPE-DECLS [Error] >>> ***/
133
134
135typedef struct Error {
136 /*
137 * This type is extensible,
138 * possible extensions are below.
139 */
140
141 /* Context for parsing across buffer boundaries */
142 ber_dec_ctx_t _ber_dec_ctx;
143} Error_t;
144
145/*** <<< STAT-DEFS [Error] >>> ***/
146
147static ber_tlv_tag_t asn1_DEF_Error_tags[] = {
148 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
149};
150static asn1_TYPE_tag2member_t asn1_DEF_Error_tag2el[] = {
151};
152static asn1_SEQUENCE_specifics_t asn1_DEF_Error_specs = {
153 sizeof(struct Error),
154 offsetof(struct Error, _ber_dec_ctx),
155 asn1_DEF_Error_tag2el,
156 0, /* Count of tags in the map */
157 -1, /* Start extensions */
158 -1 /* Stop extensions */
159};
160asn1_TYPE_descriptor_t asn1_DEF_Error = {
161 "Error",
162 SEQUENCE_free,
163 SEQUENCE_print,
164 SEQUENCE_constraint,
165 SEQUENCE_decode_ber,
166 SEQUENCE_encode_der,
167 0, /* Not implemented yet */
168 SEQUENCE_encode_xer,
169 0, /* Use generic outmost tag fetcher */
170 asn1_DEF_Error_tags,
171 sizeof(asn1_DEF_Error_tags)
172 /sizeof(asn1_DEF_Error_tags[0]), /* 1 */
173 asn1_DEF_Error_tags, /* Same as above */
174 sizeof(asn1_DEF_Error_tags)
175 /sizeof(asn1_DEF_Error_tags[0]), /* 1 */
Lev Walkina9cc46e2004-09-22 16:06:28 +0000176 0, 0, /* No members */
177 &asn1_DEF_Error_specs /* Additional specs */
178};
179