]> git.stg.codes - stg.git/blobdiff - libs/smux/include/stg/asn_codecs.h
More std::jthread stuff.
[stg.git] / libs / smux / include / stg / asn_codecs.h
index 4b2a294293c22d84ebafdd0d581739c6969fd447..e75c2709cd956507df15791c7b602996fbced9a8 100644 (file)
@@ -1,6 +1,5 @@
-/*-
- * Copyright (c) 2003, 2004, 2005 Lev Walkin <vlm@lionet.info>.
- * All rights reserved.
+/*
+ * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
  * Redistribution and modifications are permitted subject to BSD license.
  */
 #ifndef        ASN_CODECS_H
  * Redistribution and modifications are permitted subject to BSD license.
  */
 #ifndef        ASN_CODECS_H
@@ -52,10 +51,10 @@ typedef struct asn_enc_rval_s {
         */
 
        /* Type which cannot be encoded */
         */
 
        /* Type which cannot be encoded */
-       struct asn_TYPE_descriptor_s *failed_type;
+       const struct asn_TYPE_descriptor_s *failed_type;
 
        /* Pointer to the structure of that type */
 
        /* Pointer to the structure of that type */
-       void *structure_ptr;
+       const void *structure_ptr;
 } asn_enc_rval_t;
 #define        ASN__ENCODE_FAILED do {                                 \
        asn_enc_rval_t tmp_error;                               \
 } asn_enc_rval_t;
 #define        ASN__ENCODE_FAILED do {                                 \
        asn_enc_rval_t tmp_error;                               \