]> git.stg.codes - stg.git/blobdiff - libs/smux/ObjectName.c
Fix sizeof.
[stg.git] / libs / smux / ObjectName.c
index d10f719331d02702fd707acb473a755d5afc9af6..5b059007ac094612248331e513205c93734266b2 100644 (file)
@@ -1,12 +1,10 @@
 /*
- * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
  * From ASN.1 module "RFC1155-SMI"
  *     found in "RFC1155-SMI.asn1"
- *     `asn1c -fskeletons-copy`
+ *     `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
  */
 
-#include <asn_internal.h>
-
 #include "ObjectName.h"
 
 int
@@ -25,6 +23,7 @@ static void
 ObjectName_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
        td->free_struct    = asn_DEF_OBJECT_IDENTIFIER.free_struct;
        td->print_struct   = asn_DEF_OBJECT_IDENTIFIER.print_struct;
+       td->check_constraints = asn_DEF_OBJECT_IDENTIFIER.check_constraints;
        td->ber_decoder    = asn_DEF_OBJECT_IDENTIFIER.ber_decoder;
        td->der_encoder    = asn_DEF_OBJECT_IDENTIFIER.der_encoder;
        td->xer_decoder    = asn_DEF_OBJECT_IDENTIFIER.xer_decoder;
@@ -82,7 +81,7 @@ ObjectName_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
        return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
 }
 
-static ber_tlv_tag_t asn_DEF_ObjectName_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_ObjectName_tags_1[] = {
        (ASN_TAG_CLASS_UNIVERSAL | (6 << 2))
 };
 asn_TYPE_descriptor_t asn_DEF_ObjectName = {