]> git.stg.codes - stg.git/blobdiff - libs/smux/include/stg/constr_SEQUENCE.h
Cryptography with void* in the interfaces.
[stg.git] / libs / smux / include / stg / constr_SEQUENCE.h
index 5f589d5c1c0d1ae1d6e970742fc6467153bea79c..c2aeb66767571075ec41cc2aac5557879eab051a 100644 (file)
@@ -11,7 +11,7 @@
 extern "C" {
 #endif
 
 extern "C" {
 #endif
 
-typedef struct asn_SEQUENCE_specifics_s {
+typedef const struct asn_SEQUENCE_specifics_s {
        /*
         * Target structure description.
         */
        /*
         * Target structure description.
         */
@@ -21,14 +21,14 @@ typedef struct asn_SEQUENCE_specifics_s {
        /*
         * Tags to members mapping table (sorted).
         */
        /*
         * Tags to members mapping table (sorted).
         */
-       asn_TYPE_tag2member_t *tag2el;
+       const asn_TYPE_tag2member_t *tag2el;
        int tag2el_count;
 
        /*
         * Optional members of the extensions root (roms) or additions (aoms).
         * Meaningful for PER.
         */
        int tag2el_count;
 
        /*
         * Optional members of the extensions root (roms) or additions (aoms).
         * Meaningful for PER.
         */
-       int *oms;               /* Optional MemberS */
+       const int *oms;         /* Optional MemberS */
        int  roms_count;        /* Root optional members count */
        int  aoms_count;        /* Additions optional members count */
 
        int  roms_count;        /* Root optional members count */
        int  aoms_count;        /* Additions optional members count */