]> git.stg.codes - stg.git/blobdiff - libs/smux/PhysAddress.c
Convert some tests from TUT to Boost.Test
[stg.git] / libs / smux / PhysAddress.c
index eed47386bd0e7fdf2f1ecd7d05444fcf70d05386..2ffd2c3de0e8883a3f260b54b810f2a658adc5cd 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 "RFC1213-MIB"
  *     found in "RFC1213-MIB.asn1"
  * From ASN.1 module "RFC1213-MIB"
  *     found in "RFC1213-MIB.asn1"
- *     `asn1c -fskeletons-copy`
+ *     `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
  */
 
  */
 
-#include <asn_internal.h>
-
 #include "PhysAddress.h"
 
 int
 #include "PhysAddress.h"
 
 int
@@ -25,6 +23,7 @@ static void
 PhysAddress_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
        td->free_struct    = asn_DEF_OCTET_STRING.free_struct;
        td->print_struct   = asn_DEF_OCTET_STRING.print_struct;
 PhysAddress_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
        td->free_struct    = asn_DEF_OCTET_STRING.free_struct;
        td->print_struct   = asn_DEF_OCTET_STRING.print_struct;
+       td->check_constraints = asn_DEF_OCTET_STRING.check_constraints;
        td->ber_decoder    = asn_DEF_OCTET_STRING.ber_decoder;
        td->der_encoder    = asn_DEF_OCTET_STRING.der_encoder;
        td->xer_decoder    = asn_DEF_OCTET_STRING.xer_decoder;
        td->ber_decoder    = asn_DEF_OCTET_STRING.ber_decoder;
        td->der_encoder    = asn_DEF_OCTET_STRING.der_encoder;
        td->xer_decoder    = asn_DEF_OCTET_STRING.xer_decoder;
@@ -82,7 +81,7 @@ PhysAddress_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
        return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
 }
 
        return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
 }
 
-static ber_tlv_tag_t asn_DEF_PhysAddress_tags_1[] = {
+static const ber_tlv_tag_t asn_DEF_PhysAddress_tags_1[] = {
        (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
 };
 asn_TYPE_descriptor_t asn_DEF_PhysAddress = {
        (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
 };
 asn_TYPE_descriptor_t asn_DEF_PhysAddress = {