Commit b37ee639 authored by Lev Walkin's avatar Lev Walkin

regenerated

parent 1bde6d4d
...@@ -130,8 +130,8 @@ asn_TYPE_member_t asn_MBR_Narrow_15P0_1[] = { ...@@ -130,8 +130,8 @@ asn_TYPE_member_t asn_MBR_Narrow_15P0_1[] = {
.type = &asn_DEF_NativeInteger, .type = &asn_DEF_NativeInteger,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_narrow1_constraint_1 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_narrow1_constraint_1 },
.default_value_cmp = asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */ .default_value_cmp = &asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */ .default_value_set = &asn_DFL_2_set_3, /* Set DEFAULT 3 */
.name = "narrow1" .name = "narrow1"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct Narrow_15P0, narrow2), { ATF_NOFLAGS, 0, offsetof(struct Narrow_15P0, narrow2),
......
...@@ -81,8 +81,8 @@ asn_TYPE_member_t asn_MBR_Flag_15P0_1[] = { ...@@ -81,8 +81,8 @@ asn_TYPE_member_t asn_MBR_Flag_15P0_1[] = {
.type = &asn_DEF_NativeInteger, .type = &asn_DEF_NativeInteger,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_2_cmp_5, /* Compare DEFAULT 5 */ .default_value_cmp = &asn_DFL_2_cmp_5, /* Compare DEFAULT 5 */
.default_value_set = asn_DFL_2_set_5, /* Set DEFAULT 5 */ .default_value_set = &asn_DFL_2_set_5, /* Set DEFAULT 5 */
.name = "field" .name = "field"
}, },
}; };
...@@ -184,8 +184,8 @@ asn_TYPE_member_t asn_MBR_Flag_15P1_6[] = { ...@@ -184,8 +184,8 @@ asn_TYPE_member_t asn_MBR_Flag_15P1_6[] = {
.type = &asn_DEF_field_7, .type = &asn_DEF_field_7,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_7_cmp_5, /* Compare DEFAULT 5 */ .default_value_cmp = &asn_DFL_7_cmp_5, /* Compare DEFAULT 5 */
.default_value_set = asn_DFL_7_set_5, /* Set DEFAULT 5 */ .default_value_set = &asn_DFL_7_set_5, /* Set DEFAULT 5 */
.name = "field" .name = "field"
}, },
}; };
......
...@@ -134,7 +134,7 @@ extern asn_TYPE_member_t asn_MBR_Singleton_1[1]; ...@@ -134,7 +134,7 @@ extern asn_TYPE_member_t asn_MBR_Singleton_1[1];
/*** <<< STAT-DEFS [Singleton] >>> ***/ /*** <<< STAT-DEFS [Singleton] >>> ***/
static int asn_DFL_2_cmp(const void *sptr) { static int asn_DFL_2_cmp(const void *sptr) {
static uint8_t defv[] = "z"; static const uint8_t defv[] = "z";
const IA5String_t *st = sptr; const IA5String_t *st = sptr;
if(!st) { if(!st) {
...@@ -147,18 +147,18 @@ static int asn_DFL_2_cmp(const void *sptr) { ...@@ -147,18 +147,18 @@ static int asn_DFL_2_cmp(const void *sptr) {
return 1; return 1;
} }
static int asn_DFL_2_set(void **sptr) { static int asn_DFL_2_set(void **sptr) {
static uint8_t defv[] = "z"; static const uint8_t defv[] = "z";
IA5String_t *st = *sptr; IA5String_t *st = *sptr;
uint8_t *nstr = MALLOC(sizeof(defv)); uint8_t *nstr = MALLOC(sizeof(defv));
if(!nstr) return -1; if(!nstr) return -1;
memcpy(nstr, defv, sizeof(defv)); memcpy(nstr, defv, sizeof(defv));
if((st = *sptr)) { if(st) {
FREEMEM(st->buf); FREEMEM(st->buf);
} else { } else {
st = (*sptr = CALLOC(1, sizeof(*st))); st = (*sptr = CALLOC(1, sizeof(*st)));
if(!st) { FREEMEM(nptr); return -1; } if(!st) { FREEMEM(nstr); return -1; }
} }
st->buf = nstr; st->buf = nstr;
st->size = sizeof(defv) - 1; st->size = sizeof(defv) - 1;
...@@ -172,8 +172,8 @@ asn_TYPE_member_t asn_MBR_Singleton_1[] = { ...@@ -172,8 +172,8 @@ asn_TYPE_member_t asn_MBR_Singleton_1[] = {
.type = &asn_DEF_IA5String, .type = &asn_DEF_IA5String,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_2_cmp, /* Compare DEFAULT "z" */ .default_value_cmp = &asn_DFL_2_cmp, /* Compare DEFAULT "z" */
.default_value_set = asn_DFL_2_set, /* Set DEFAULT "z" */ .default_value_set = &asn_DFL_2_set, /* Set DEFAULT "z" */
.name = "opt-z" .name = "opt-z"
}, },
}; };
......
...@@ -466,8 +466,8 @@ static asn_TYPE_member_t asn_MBR_T_1[] = { ...@@ -466,8 +466,8 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.type = &asn_DEF_NativeInteger, .type = &asn_DEF_NativeInteger,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = &asn_OER_memb_signed8_constr_9, .per_constraints = 0, .general_constraints = memb_signed8_constraint_1 }, { .oer_constraints = &asn_OER_memb_signed8_constr_9, .per_constraints = 0, .general_constraints = memb_signed8_constraint_1 },
.default_value_cmp = asn_DFL_9_cmp_3, /* Compare DEFAULT 3 */ .default_value_cmp = &asn_DFL_9_cmp_3, /* Compare DEFAULT 3 */
.default_value_set = asn_DFL_9_set_3, /* Set DEFAULT 3 */ .default_value_set = &asn_DFL_9_set_3, /* Set DEFAULT 3 */
.name = "signed8" .name = "signed8"
}, },
{ ATF_POINTER, 5, offsetof(struct T, signed16), { ATF_POINTER, 5, offsetof(struct T, signed16),
......
...@@ -2119,8 +2119,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = { ...@@ -2119,8 +2119,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.type = &asn_DEF_Int1, .type = &asn_DEF_Int1,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_int1_c_constraint_1 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_int1_c_constraint_1 },
.default_value_cmp = asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */ .default_value_cmp = &asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */ .default_value_set = &asn_DFL_2_set_3, /* Set DEFAULT 3 */
.name = "int1-c" .name = "int1-c"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, int4), { ATF_NOFLAGS, 0, offsetof(struct Sequence, int4),
...@@ -2147,8 +2147,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = { ...@@ -2147,8 +2147,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.type = &asn_DEF_BOOLEAN, .type = &asn_DEF_BOOLEAN,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */ .default_value_cmp = &asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
.default_value_set = asn_DFL_5_set_1, /* Set DEFAULT 1 */ .default_value_set = &asn_DFL_5_set_1, /* Set DEFAULT 1 */
.name = "bool" .name = "bool"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, enum_c), { ATF_NOFLAGS, 0, offsetof(struct Sequence, enum_c),
......
...@@ -2350,8 +2350,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = { ...@@ -2350,8 +2350,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.type = &asn_DEF_Int1, .type = &asn_DEF_Int1,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = &asn_PER_memb_int1_c_constr_2, .general_constraints = memb_int1_c_constraint_1 }, { .oer_constraints = 0, .per_constraints = &asn_PER_memb_int1_c_constr_2, .general_constraints = memb_int1_c_constraint_1 },
.default_value_cmp = asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */ .default_value_cmp = &asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */ .default_value_set = &asn_DFL_2_set_3, /* Set DEFAULT 3 */
.name = "int1-c" .name = "int1-c"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, int4), { ATF_NOFLAGS, 0, offsetof(struct Sequence, int4),
...@@ -2378,8 +2378,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = { ...@@ -2378,8 +2378,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.type = &asn_DEF_BOOLEAN, .type = &asn_DEF_BOOLEAN,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */ .default_value_cmp = &asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
.default_value_set = asn_DFL_5_set_1, /* Set DEFAULT 1 */ .default_value_set = &asn_DFL_5_set_1, /* Set DEFAULT 1 */
.name = "bool" .name = "bool"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, enum_c), { ATF_NOFLAGS, 0, offsetof(struct Sequence, enum_c),
......
...@@ -518,8 +518,8 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = { ...@@ -518,8 +518,8 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = {
.type = &asn_DEF_INTEGER, .type = &asn_DEF_INTEGER,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_3_cmp_7, /* Compare DEFAULT 7 */ .default_value_cmp = &asn_DFL_3_cmp_7, /* Compare DEFAULT 7 */
.default_value_set = asn_DFL_3_set_7, /* Set DEFAULT 7 */ .default_value_set = &asn_DFL_3_set_7, /* Set DEFAULT 7 */
.name = "plain" .name = "plain"
}, },
{ ATF_NOFLAGS, 0, offsetof(struct Ypet, senums), { ATF_NOFLAGS, 0, offsetof(struct Ypet, senums),
......
...@@ -88,8 +88,8 @@ asn_TYPE_member_t asn_MBR_TestType_16P0_1[] = { ...@@ -88,8 +88,8 @@ asn_TYPE_member_t asn_MBR_TestType_16P0_1[] = {
.type = &asn_DEF_NativeInteger, .type = &asn_DEF_NativeInteger,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_common_constraint_1 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_common_constraint_1 },
.default_value_cmp = asn_DFL_2_cmp_0, /* Compare DEFAULT 0 */ .default_value_cmp = &asn_DFL_2_cmp_0, /* Compare DEFAULT 0 */
.default_value_set = asn_DFL_2_set_0, /* Set DEFAULT 0 */ .default_value_set = &asn_DFL_2_set_0, /* Set DEFAULT 0 */
.name = "common" .name = "common"
}, },
}; };
...@@ -153,8 +153,8 @@ asn_TYPE_member_t asn_MBR_TestType_16P1_3[] = { ...@@ -153,8 +153,8 @@ asn_TYPE_member_t asn_MBR_TestType_16P1_3[] = {
.type = &asn_DEF_BOOLEAN, .type = &asn_DEF_BOOLEAN,
.type_selector = 0, .type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_4_cmp_0, /* Compare DEFAULT 0 */ .default_value_cmp = &asn_DFL_4_cmp_0, /* Compare DEFAULT 0 */
.default_value_set = asn_DFL_4_set_0, /* Set DEFAULT 0 */ .default_value_set = &asn_DFL_4_set_0, /* Set DEFAULT 0 */
.name = "common" .name = "common"
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment