X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..16e9905f82947dd471c09382122d8150ba6fda1a:/libs/smux/VarBindList.c?ds=sidebyside diff --git a/libs/smux/VarBindList.c b/libs/smux/VarBindList.c index 15018ded..2f970016 100644 --- a/libs/smux/VarBindList.c +++ b/libs/smux/VarBindList.c @@ -1,29 +1,27 @@ /* - * Generated by asn1c-0.9.21 (http://lionet.info/asn1c) + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "RFC1157-SNMP" * found in "RFC1157-SNMP.asn1" - * `asn1c -fskeletons-copy` + * `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types` */ -#include - #include "VarBindList.h" -static asn_TYPE_member_t asn_MBR_VarBindList_1[] = { +asn_TYPE_member_t asn_MBR_VarBindList_1[] = { { ATF_POINTER, 0, 0, (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, &asn_DEF_VarBind, - 0, /* Defer constraints checking to the member type */ - 0, /* PER is not compiled, use -gen-PER */ 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ "" }, }; -static ber_tlv_tag_t asn_DEF_VarBindList_tags_1[] = { +static const ber_tlv_tag_t asn_DEF_VarBindList_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; -static asn_SET_OF_specifics_t asn_SPC_VarBindList_specs_1 = { +asn_SET_OF_specifics_t asn_SPC_VarBindList_specs_1 = { sizeof(struct VarBindList), offsetof(struct VarBindList, _asn_ctx), 0, /* XER encoding is XMLDelimitedItemList */ @@ -31,22 +29,14 @@ static asn_SET_OF_specifics_t asn_SPC_VarBindList_specs_1 = { asn_TYPE_descriptor_t asn_DEF_VarBindList = { "VarBindList", "VarBindList", - SEQUENCE_OF_free, - SEQUENCE_OF_print, - SEQUENCE_OF_constraint, - SEQUENCE_OF_decode_ber, - SEQUENCE_OF_encode_der, - SEQUENCE_OF_decode_xer, - SEQUENCE_OF_encode_xer, - 0, 0, /* No PER support, use "-gen-PER" to enable */ - 0, /* Use generic outmost tag fetcher */ + &asn_OP_SEQUENCE_OF, asn_DEF_VarBindList_tags_1, sizeof(asn_DEF_VarBindList_tags_1) /sizeof(asn_DEF_VarBindList_tags_1[0]), /* 1 */ asn_DEF_VarBindList_tags_1, /* Same as above */ sizeof(asn_DEF_VarBindList_tags_1) /sizeof(asn_DEF_VarBindList_tags_1[0]), /* 1 */ - 0, /* No PER visible constraints */ + { 0, 0, SEQUENCE_OF_constraint }, asn_MBR_VarBindList_1, 1, /* Single element */ &asn_SPC_VarBindList_specs_1 /* Additional specs */