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