]> git.stg.codes - stg.git/blobdiff - libs/smux/VarBindList.c
Use std::lock_guard instead of STG_LOCKER.
[stg.git] / libs / smux / VarBindList.c
index 15018ded4db231283c8c1dd0c9e108543d5fc26d..2f970016c0489470ef442e9294344cf870c12756 100644 (file)
@@ -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"
  * 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 <asn_internal.h>
-
 #include "VarBindList.h"
 
 #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,
        { 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, 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))
 };
        (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 */
        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",
 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 */
        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 */
        asn_MBR_VarBindList_1,
        1,      /* Single element */
        &asn_SPC_VarBindList_specs_1    /* Additional specs */