]> git.stg.codes - stg.git/blobdiff - libs/smux/VarBindList.c
Port to CMake, get rid of os_int.h.
[stg.git] / libs / smux / VarBindList.c
diff --git a/libs/smux/VarBindList.c b/libs/smux/VarBindList.c
new file mode 100644 (file)
index 0000000..15018de
--- /dev/null
@@ -0,0 +1,54 @@
+/*
+ * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
+ * From ASN.1 module "RFC1157-SNMP"
+ *     found in "RFC1157-SNMP.asn1"
+ *     `asn1c -fskeletons-copy`
+ */
+
+#include <asn_internal.h>
+
+#include "VarBindList.h"
+
+static 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,
+               ""
+               },
+};
+static 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 = {
+       sizeof(struct VarBindList),
+       offsetof(struct VarBindList, _asn_ctx),
+       0,      /* XER encoding is XMLDelimitedItemList */
+};
+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_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 */
+       asn_MBR_VarBindList_1,
+       1,      /* Single element */
+       &asn_SPC_VarBindList_specs_1    /* Additional specs */
+};
+