]> git.stg.codes - stg.git/blob - stglibs/smux.lib/VarBindList.c
Added parser factories.
[stg.git] / stglibs / smux.lib / VarBindList.c
1 /*
2  * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1157-SNMP"
4  *      found in "RFC1157-SNMP.asn1"
5  *      `asn1c -fskeletons-copy`
6  */
7
8 #include <asn_internal.h>
9
10 #include "VarBindList.h"
11
12 static asn_TYPE_member_t asn_MBR_VarBindList_1[] = {
13         { ATF_POINTER, 0, 0,
14                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
15                 0,
16                 &asn_DEF_VarBind,
17                 0,      /* Defer constraints checking to the member type */
18                 0,      /* PER is not compiled, use -gen-PER */
19                 0,
20                 ""
21                 },
22 };
23 static ber_tlv_tag_t asn_DEF_VarBindList_tags_1[] = {
24         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
25 };
26 static asn_SET_OF_specifics_t asn_SPC_VarBindList_specs_1 = {
27         sizeof(struct VarBindList),
28         offsetof(struct VarBindList, _asn_ctx),
29         0,      /* XER encoding is XMLDelimitedItemList */
30 };
31 asn_TYPE_descriptor_t asn_DEF_VarBindList = {
32         "VarBindList",
33         "VarBindList",
34         SEQUENCE_OF_free,
35         SEQUENCE_OF_print,
36         SEQUENCE_OF_constraint,
37         SEQUENCE_OF_decode_ber,
38         SEQUENCE_OF_encode_der,
39         SEQUENCE_OF_decode_xer,
40         SEQUENCE_OF_encode_xer,
41         0, 0,   /* No PER support, use "-gen-PER" to enable */
42         0,      /* Use generic outmost tag fetcher */
43         asn_DEF_VarBindList_tags_1,
44         sizeof(asn_DEF_VarBindList_tags_1)
45                 /sizeof(asn_DEF_VarBindList_tags_1[0]), /* 1 */
46         asn_DEF_VarBindList_tags_1,     /* Same as above */
47         sizeof(asn_DEF_VarBindList_tags_1)
48                 /sizeof(asn_DEF_VarBindList_tags_1[0]), /* 1 */
49         0,      /* No PER visible constraints */
50         asn_MBR_VarBindList_1,
51         1,      /* Single element */
52         &asn_SPC_VarBindList_specs_1    /* Additional specs */
53 };
54