mirror of https://gerrit.osmocom.org/asn1c
regenerated
This commit is contained in:
parent
1bde6d4d7a
commit
b37ee63992
|
@ -130,8 +130,8 @@ asn_TYPE_member_t asn_MBR_Narrow_15P0_1[] = {
|
|||
.type = &asn_DEF_NativeInteger,
|
||||
.type_selector = 0,
|
||||
{ .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_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */
|
||||
.default_value_cmp = &asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
|
||||
.default_value_set = &asn_DFL_2_set_3, /* Set DEFAULT 3 */
|
||||
.name = "narrow1"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Narrow_15P0, narrow2),
|
||||
|
|
|
@ -81,8 +81,8 @@ asn_TYPE_member_t asn_MBR_Flag_15P0_1[] = {
|
|||
.type = &asn_DEF_NativeInteger,
|
||||
.type_selector = 0,
|
||||
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
|
||||
.default_value_cmp = asn_DFL_2_cmp_5, /* Compare DEFAULT 5 */
|
||||
.default_value_set = asn_DFL_2_set_5, /* Set DEFAULT 5 */
|
||||
.default_value_cmp = &asn_DFL_2_cmp_5, /* Compare DEFAULT 5 */
|
||||
.default_value_set = &asn_DFL_2_set_5, /* Set DEFAULT 5 */
|
||||
.name = "field"
|
||||
},
|
||||
};
|
||||
|
@ -184,8 +184,8 @@ asn_TYPE_member_t asn_MBR_Flag_15P1_6[] = {
|
|||
.type = &asn_DEF_field_7,
|
||||
.type_selector = 0,
|
||||
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
|
||||
.default_value_cmp = asn_DFL_7_cmp_5, /* Compare DEFAULT 5 */
|
||||
.default_value_set = asn_DFL_7_set_5, /* Set DEFAULT 5 */
|
||||
.default_value_cmp = &asn_DFL_7_cmp_5, /* Compare DEFAULT 5 */
|
||||
.default_value_set = &asn_DFL_7_set_5, /* Set DEFAULT 5 */
|
||||
.name = "field"
|
||||
},
|
||||
};
|
||||
|
|
|
@ -134,7 +134,7 @@ extern asn_TYPE_member_t asn_MBR_Singleton_1[1];
|
|||
/*** <<< STAT-DEFS [Singleton] >>> ***/
|
||||
|
||||
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;
|
||||
|
||||
if(!st) {
|
||||
|
@ -147,18 +147,18 @@ static int asn_DFL_2_cmp(const void *sptr) {
|
|||
return 1;
|
||||
}
|
||||
static int asn_DFL_2_set(void **sptr) {
|
||||
static uint8_t defv[] = "z";
|
||||
static const uint8_t defv[] = "z";
|
||||
IA5String_t *st = *sptr;
|
||||
uint8_t *nstr = MALLOC(sizeof(defv));
|
||||
|
||||
if(!nstr) return -1;
|
||||
memcpy(nstr, defv, sizeof(defv));
|
||||
|
||||
if((st = *sptr)) {
|
||||
if(st) {
|
||||
FREEMEM(st->buf);
|
||||
} else {
|
||||
st = (*sptr = CALLOC(1, sizeof(*st)));
|
||||
if(!st) { FREEMEM(nptr); return -1; }
|
||||
if(!st) { FREEMEM(nstr); return -1; }
|
||||
}
|
||||
st->buf = nstr;
|
||||
st->size = sizeof(defv) - 1;
|
||||
|
@ -172,8 +172,8 @@ asn_TYPE_member_t asn_MBR_Singleton_1[] = {
|
|||
.type = &asn_DEF_IA5String,
|
||||
.type_selector = 0,
|
||||
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
|
||||
.default_value_cmp = asn_DFL_2_cmp, /* Compare DEFAULT "z" */
|
||||
.default_value_set = asn_DFL_2_set, /* Set DEFAULT "z" */
|
||||
.default_value_cmp = &asn_DFL_2_cmp, /* Compare DEFAULT "z" */
|
||||
.default_value_set = &asn_DFL_2_set, /* Set DEFAULT "z" */
|
||||
.name = "opt-z"
|
||||
},
|
||||
};
|
||||
|
|
|
@ -466,8 +466,8 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
|
|||
.type = &asn_DEF_NativeInteger,
|
||||
.type_selector = 0,
|
||||
{ .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_set = asn_DFL_9_set_3, /* Set DEFAULT 3 */
|
||||
.default_value_cmp = &asn_DFL_9_cmp_3, /* Compare DEFAULT 3 */
|
||||
.default_value_set = &asn_DFL_9_set_3, /* Set DEFAULT 3 */
|
||||
.name = "signed8"
|
||||
},
|
||||
{ ATF_POINTER, 5, offsetof(struct T, signed16),
|
||||
|
|
|
@ -2119,8 +2119,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
|
|||
.type = &asn_DEF_Int1,
|
||||
.type_selector = 0,
|
||||
{ .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_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */
|
||||
.default_value_cmp = &asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
|
||||
.default_value_set = &asn_DFL_2_set_3, /* Set DEFAULT 3 */
|
||||
.name = "int1-c"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, int4),
|
||||
|
@ -2147,8 +2147,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
|
|||
.type = &asn_DEF_BOOLEAN,
|
||||
.type_selector = 0,
|
||||
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
|
||||
.default_value_cmp = asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
|
||||
.default_value_set = asn_DFL_5_set_1, /* Set DEFAULT 1 */
|
||||
.default_value_cmp = &asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
|
||||
.default_value_set = &asn_DFL_5_set_1, /* Set DEFAULT 1 */
|
||||
.name = "bool"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, enum_c),
|
||||
|
|
|
@ -2350,8 +2350,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
|
|||
.type = &asn_DEF_Int1,
|
||||
.type_selector = 0,
|
||||
{ .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_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */
|
||||
.default_value_cmp = &asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
|
||||
.default_value_set = &asn_DFL_2_set_3, /* Set DEFAULT 3 */
|
||||
.name = "int1-c"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, int4),
|
||||
|
@ -2378,8 +2378,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
|
|||
.type = &asn_DEF_BOOLEAN,
|
||||
.type_selector = 0,
|
||||
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
|
||||
.default_value_cmp = asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
|
||||
.default_value_set = asn_DFL_5_set_1, /* Set DEFAULT 1 */
|
||||
.default_value_cmp = &asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
|
||||
.default_value_set = &asn_DFL_5_set_1, /* Set DEFAULT 1 */
|
||||
.name = "bool"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, enum_c),
|
||||
|
|
|
@ -518,8 +518,8 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = {
|
|||
.type = &asn_DEF_INTEGER,
|
||||
.type_selector = 0,
|
||||
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
|
||||
.default_value_cmp = asn_DFL_3_cmp_7, /* Compare DEFAULT 7 */
|
||||
.default_value_set = asn_DFL_3_set_7, /* Set DEFAULT 7 */
|
||||
.default_value_cmp = &asn_DFL_3_cmp_7, /* Compare DEFAULT 7 */
|
||||
.default_value_set = &asn_DFL_3_set_7, /* Set DEFAULT 7 */
|
||||
.name = "plain"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Ypet, senums),
|
||||
|
|
|
@ -88,8 +88,8 @@ asn_TYPE_member_t asn_MBR_TestType_16P0_1[] = {
|
|||
.type = &asn_DEF_NativeInteger,
|
||||
.type_selector = 0,
|
||||
{ .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_set = asn_DFL_2_set_0, /* Set DEFAULT 0 */
|
||||
.default_value_cmp = &asn_DFL_2_cmp_0, /* Compare DEFAULT 0 */
|
||||
.default_value_set = &asn_DFL_2_set_0, /* Set DEFAULT 0 */
|
||||
.name = "common"
|
||||
},
|
||||
};
|
||||
|
@ -153,8 +153,8 @@ asn_TYPE_member_t asn_MBR_TestType_16P1_3[] = {
|
|||
.type = &asn_DEF_BOOLEAN,
|
||||
.type_selector = 0,
|
||||
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 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_cmp = &asn_DFL_4_cmp_0, /* Compare DEFAULT 0 */
|
||||
.default_value_set = &asn_DFL_4_set_0, /* Set DEFAULT 0 */
|
||||
.name = "common"
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue