/*** <<< INCLUDES [LogLine] >>> ***/ #include #include #include #include /*** <<< FWD-DECLS [LogLine] >>> ***/ struct VariablePartSet; /*** <<< TYPE-DECLS [LogLine] >>> ***/ typedef struct LogLine { IA5String_t line_digest; struct varsets { A_SEQUENCE_OF(struct VariablePartSet) list; /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } varsets; /* * This type is extensible, * possible extensions are below. */ /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } LogLine_t; /*** <<< FUNC-DECLS [LogLine] >>> ***/ extern asn_TYPE_descriptor_t asn_DEF_LogLine; /*** <<< POST-INCLUDE [LogLine] >>> ***/ #include "VariablePartSet.h" /*** <<< CODE [LogLine] >>> ***/ static int memb_varsets_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key) { size_t size; if(!sptr) { ASN__CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)", td->name, __FILE__, __LINE__); return -1; } /* Determine the number of elements */ size = _A_CSEQUENCE_FROM_VOID(sptr)->count; if((size >= 1)) { /* Perform validation of the inner elements */ return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); } else { ASN__CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)", td->name, __FILE__, __LINE__); return -1; } } /*** <<< STAT-DEFS [LogLine] >>> ***/ static asn_TYPE_member_t asn_MBR_varsets_3[] = { { ATF_POINTER, 0, 0, .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), .tag_mode = 0, .type = &asn_DEF_VariablePartSet, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "" }, }; static const ber_tlv_tag_t asn_DEF_varsets_tags_3[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_SET_OF_specifics_t asn_SPC_varsets_specs_3 = { sizeof(struct varsets), offsetof(struct varsets, _asn_ctx), 0, /* XER encoding is XMLDelimitedItemList */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_varsets_3 = { "varsets", "varsets", &asn_OP_SEQUENCE_OF, asn_DEF_varsets_tags_3, sizeof(asn_DEF_varsets_tags_3) /sizeof(asn_DEF_varsets_tags_3[0]), /* 1 */ asn_DEF_varsets_tags_3, /* Same as above */ sizeof(asn_DEF_varsets_tags_3) /sizeof(asn_DEF_varsets_tags_3[0]), /* 1 */ { 0, 0, SEQUENCE_OF_constraint }, asn_MBR_varsets_3, 1, /* Single element */ &asn_SPC_varsets_specs_3 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_LogLine_1[] = { { ATF_NOFLAGS, 0, offsetof(struct LogLine, line_digest), .tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), .tag_mode = 0, .type = &asn_DEF_IA5String, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "line-digest" }, { ATF_NOFLAGS, 0, offsetof(struct LogLine, varsets), .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), .tag_mode = 0, .type = &asn_DEF_varsets_3, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_varsets_constraint_1 }, 0, 0, /* No default value */ .name = "varsets" }, }; static const ber_tlv_tag_t asn_DEF_LogLine_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_LogLine_tag2el_1[] = { { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 }, /* varsets */ { (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), 0, 0, 0 } /* line-digest */ }; static asn_SEQUENCE_specifics_t asn_SPC_LogLine_specs_1 = { sizeof(struct LogLine), offsetof(struct LogLine, _asn_ctx), .tag2el = asn_MAP_LogLine_tag2el_1, .tag2el_count = 2, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ 2, /* First extension addition */ }; asn_TYPE_descriptor_t asn_DEF_LogLine = { "LogLine", "LogLine", &asn_OP_SEQUENCE, asn_DEF_LogLine_tags_1, sizeof(asn_DEF_LogLine_tags_1) /sizeof(asn_DEF_LogLine_tags_1[0]), /* 1 */ asn_DEF_LogLine_tags_1, /* Same as above */ sizeof(asn_DEF_LogLine_tags_1) /sizeof(asn_DEF_LogLine_tags_1[0]), /* 1 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_LogLine_1, 2, /* Elements count */ &asn_SPC_LogLine_specs_1 /* Additional specs */ }; /*** <<< INCLUDES [VariablePartSet] >>> ***/ #include "ActionItem.h" #include #include #include /*** <<< FWD-DECLS [VariablePartSet] >>> ***/ struct VariablePart; /*** <<< TYPE-DECLS [VariablePartSet] >>> ***/ typedef struct VariablePartSet { struct vparts { A_SEQUENCE_OF(struct VariablePart) list; /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } vparts; ActionItem_t resolution; /* * This type is extensible, * possible extensions are below. */ /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } VariablePartSet_t; /*** <<< FUNC-DECLS [VariablePartSet] >>> ***/ extern asn_TYPE_descriptor_t asn_DEF_VariablePartSet; extern asn_SEQUENCE_specifics_t asn_SPC_VariablePartSet_specs_1; extern asn_TYPE_member_t asn_MBR_VariablePartSet_1[2]; /*** <<< POST-INCLUDE [VariablePartSet] >>> ***/ #include "VariablePart.h" /*** <<< CODE [VariablePartSet] >>> ***/ static int memb_vparts_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key) { if(!sptr) { ASN__CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)", td->name, __FILE__, __LINE__); return -1; } if(1 /* No applicable constraints whatsoever */) { /* Nothing is here. See below */ } return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); } /*** <<< STAT-DEFS [VariablePartSet] >>> ***/ static asn_TYPE_member_t asn_MBR_vparts_2[] = { { ATF_POINTER, 0, 0, .tag = -1 /* Ambiguous tag (CHOICE?) */, .tag_mode = 0, .type = &asn_DEF_VariablePart, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "" }, }; static const ber_tlv_tag_t asn_DEF_vparts_tags_2[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static asn_SET_OF_specifics_t asn_SPC_vparts_specs_2 = { sizeof(struct vparts), offsetof(struct vparts, _asn_ctx), 2, /* XER encoding is XMLValueList */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_vparts_2 = { "vparts", "vparts", &asn_OP_SEQUENCE_OF, asn_DEF_vparts_tags_2, sizeof(asn_DEF_vparts_tags_2) /sizeof(asn_DEF_vparts_tags_2[0]), /* 1 */ asn_DEF_vparts_tags_2, /* Same as above */ sizeof(asn_DEF_vparts_tags_2) /sizeof(asn_DEF_vparts_tags_2[0]), /* 1 */ { 0, 0, SEQUENCE_OF_constraint }, asn_MBR_vparts_2, 1, /* Single element */ &asn_SPC_vparts_specs_2 /* Additional specs */ }; asn_TYPE_member_t asn_MBR_VariablePartSet_1[] = { { ATF_NOFLAGS, 0, offsetof(struct VariablePartSet, vparts), .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), .tag_mode = 0, .type = &asn_DEF_vparts_2, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_vparts_constraint_1 }, 0, 0, /* No default value */ .name = "vparts" }, { ATF_NOFLAGS, 0, offsetof(struct VariablePartSet, resolution), .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), .tag_mode = 0, .type = &asn_DEF_ActionItem, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "resolution" }, }; static const ber_tlv_tag_t asn_DEF_VariablePartSet_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_VariablePartSet_tag2el_1[] = { { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* vparts */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 0 } /* resolution */ }; asn_SEQUENCE_specifics_t asn_SPC_VariablePartSet_specs_1 = { sizeof(struct VariablePartSet), offsetof(struct VariablePartSet, _asn_ctx), .tag2el = asn_MAP_VariablePartSet_tag2el_1, .tag2el_count = 2, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ 2, /* First extension addition */ }; asn_TYPE_descriptor_t asn_DEF_VariablePartSet = { "VariablePartSet", "VariablePartSet", &asn_OP_SEQUENCE, asn_DEF_VariablePartSet_tags_1, sizeof(asn_DEF_VariablePartSet_tags_1) /sizeof(asn_DEF_VariablePartSet_tags_1[0]), /* 1 */ asn_DEF_VariablePartSet_tags_1, /* Same as above */ sizeof(asn_DEF_VariablePartSet_tags_1) /sizeof(asn_DEF_VariablePartSet_tags_1[0]), /* 1 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_VariablePartSet_1, 2, /* Elements count */ &asn_SPC_VariablePartSet_specs_1 /* Additional specs */ }; /*** <<< INCLUDES [VariablePart] >>> ***/ #include #include #include #include #include /*** <<< DEPS [VariablePart] >>> ***/ typedef enum VariablePart_PR { VariablePart_PR_NOTHING, /* No components present */ VariablePart_PR_vset, VariablePart_PR_vrange /* Extensions may appear below */ } VariablePart_PR; /*** <<< TYPE-DECLS [VariablePart] >>> ***/ typedef struct VariablePart { VariablePart_PR present; union VariablePart_u { struct vset { A_SET_OF(VisibleString_t) list; /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } vset; struct vrange { VisibleString_t from; VisibleString_t to; /* * This type is extensible, * possible extensions are below. */ /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } vrange; /* * This type is extensible, * possible extensions are below. */ } choice; /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } VariablePart_t; /*** <<< FUNC-DECLS [VariablePart] >>> ***/ extern asn_TYPE_descriptor_t asn_DEF_VariablePart; extern asn_CHOICE_specifics_t asn_SPC_VariablePart_specs_1; extern asn_TYPE_member_t asn_MBR_VariablePart_1[2]; /*** <<< CODE [VariablePart] >>> ***/ static int memb_vset_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key) { size_t size; if(!sptr) { ASN__CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)", td->name, __FILE__, __LINE__); return -1; } /* Determine the number of elements */ size = _A_CSET_FROM_VOID(sptr)->count; if((size >= 1)) { /* Perform validation of the inner elements */ return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); } else { ASN__CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)", td->name, __FILE__, __LINE__); return -1; } } /*** <<< STAT-DEFS [VariablePart] >>> ***/ static asn_TYPE_member_t asn_MBR_vset_2[] = { { ATF_POINTER, 0, 0, .tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), .tag_mode = 0, .type = &asn_DEF_VisibleString, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "" }, }; static const ber_tlv_tag_t asn_DEF_vset_tags_2[] = { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) }; static asn_SET_OF_specifics_t asn_SPC_vset_specs_2 = { sizeof(struct vset), offsetof(struct vset, _asn_ctx), 0, /* XER encoding is XMLDelimitedItemList */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_vset_2 = { "vset", "vset", &asn_OP_SET_OF, asn_DEF_vset_tags_2, sizeof(asn_DEF_vset_tags_2) /sizeof(asn_DEF_vset_tags_2[0]), /* 1 */ asn_DEF_vset_tags_2, /* Same as above */ sizeof(asn_DEF_vset_tags_2) /sizeof(asn_DEF_vset_tags_2[0]), /* 1 */ { 0, 0, SET_OF_constraint }, asn_MBR_vset_2, 1, /* Single element */ &asn_SPC_vset_specs_2 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_vrange_4[] = { { ATF_NOFLAGS, 0, offsetof(struct vrange, from), .tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), .tag_mode = 0, .type = &asn_DEF_VisibleString, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "from" }, { ATF_NOFLAGS, 0, offsetof(struct vrange, to), .tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), .tag_mode = 0, .type = &asn_DEF_VisibleString, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "to" }, }; static const ber_tlv_tag_t asn_DEF_vrange_tags_4[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_vrange_tag2el_4[] = { { (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), 0, 0, 1 }, /* from */ { (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), 1, -1, 0 } /* to */ }; static asn_SEQUENCE_specifics_t asn_SPC_vrange_specs_4 = { sizeof(struct vrange), offsetof(struct vrange, _asn_ctx), .tag2el = asn_MAP_vrange_tag2el_4, .tag2el_count = 2, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ 2, /* First extension addition */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_vrange_4 = { "vrange", "vrange", &asn_OP_SEQUENCE, asn_DEF_vrange_tags_4, sizeof(asn_DEF_vrange_tags_4) /sizeof(asn_DEF_vrange_tags_4[0]), /* 1 */ asn_DEF_vrange_tags_4, /* Same as above */ sizeof(asn_DEF_vrange_tags_4) /sizeof(asn_DEF_vrange_tags_4[0]), /* 1 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_vrange_4, 2, /* Elements count */ &asn_SPC_vrange_specs_4 /* Additional specs */ }; asn_TYPE_member_t asn_MBR_VariablePart_1[] = { { ATF_NOFLAGS, 0, offsetof(struct VariablePart, choice.vset), .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), .tag_mode = 0, .type = &asn_DEF_vset_2, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_vset_constraint_1 }, 0, 0, /* No default value */ .name = "vset" }, { ATF_NOFLAGS, 0, offsetof(struct VariablePart, choice.vrange), .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), .tag_mode = 0, .type = &asn_DEF_vrange_4, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "vrange" }, }; static const asn_TYPE_tag2member_t asn_MAP_VariablePart_tag2el_1[] = { { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 }, /* vrange */ { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* vset */ }; asn_CHOICE_specifics_t asn_SPC_VariablePart_specs_1 = { sizeof(struct VariablePart), offsetof(struct VariablePart, _asn_ctx), offsetof(struct VariablePart, present), sizeof(((struct VariablePart *)0)->present), .tag2el = asn_MAP_VariablePart_tag2el_1, .tag2el_count = 2, /* Count of tags in the map */ 0, 0, .first_extension = 2 /* Extensions start */ }; asn_TYPE_descriptor_t asn_DEF_VariablePart = { "VariablePart", "VariablePart", &asn_OP_CHOICE, 0, /* No effective tags (pointer) */ 0, /* No effective tags (count) */ 0, /* No tags (pointer) */ 0, /* No tags (count) */ { 0, 0, CHOICE_constraint }, asn_MBR_VariablePart_1, 2, /* Elements count */ &asn_SPC_VariablePart_specs_1 /* Additional specs */ }; /*** <<< INCLUDES [ActionItem] >>> ***/ #include #include #include #include #include #include /*** <<< DEPS [ActionItem] >>> ***/ typedef enum accept_as { accept_as_unknown = 0, accept_as_safe = 1, accept_as_unsafe = 2 /* * Enumeration is extensible */ } e_accept_as; /*** <<< TYPE-DECLS [ActionItem] >>> ***/ typedef struct ActionItem { long accept_as; struct notify { BOOLEAN_t critical; struct email { A_SET_OF(VisibleString_t) list; /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } email; /* * This type is extensible, * possible extensions are below. */ /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } *notify; /* * This type is extensible, * possible extensions are below. */ /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } ActionItem_t; /*** <<< FUNC-DECLS [ActionItem] >>> ***/ /* extern asn_TYPE_descriptor_t asn_DEF_accept_as_2; // (Use -fall-defs-global to expose) */ extern asn_TYPE_descriptor_t asn_DEF_ActionItem; extern asn_SEQUENCE_specifics_t asn_SPC_ActionItem_specs_1; extern asn_TYPE_member_t asn_MBR_ActionItem_1[2]; /*** <<< CODE [ActionItem] >>> ***/ /* * This type is implemented using NativeEnumerated, * so here we adjust the DEF accordingly. */ /*** <<< STAT-DEFS [ActionItem] >>> ***/ static const asn_INTEGER_enum_map_t asn_MAP_accept_as_value2enum_2[] = { { 0, 7, "unknown" }, { 1, 4, "safe" }, { 2, 6, "unsafe" } /* This list is extensible */ }; static const unsigned int asn_MAP_accept_as_enum2value_2[] = { 1, /* safe(1) */ 0, /* unknown(0) */ 2 /* unsafe(2) */ /* This list is extensible */ }; static const asn_INTEGER_specifics_t asn_SPC_accept_as_specs_2 = { asn_MAP_accept_as_value2enum_2, /* "tag" => N; sorted by tag */ asn_MAP_accept_as_enum2value_2, /* N => "tag"; sorted by N */ 3, /* Number of elements in the maps */ 4, /* Extensions before this member */ 1, /* Strict enumeration */ 0, /* Native long size */ 0 }; static const ber_tlv_tag_t asn_DEF_accept_as_tags_2[] = { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_accept_as_2 = { "accept-as", "accept-as", &asn_OP_NativeEnumerated, asn_DEF_accept_as_tags_2, sizeof(asn_DEF_accept_as_tags_2) /sizeof(asn_DEF_accept_as_tags_2[0]), /* 1 */ asn_DEF_accept_as_tags_2, /* Same as above */ sizeof(asn_DEF_accept_as_tags_2) /sizeof(asn_DEF_accept_as_tags_2[0]), /* 1 */ { 0, 0, NativeEnumerated_constraint }, 0, 0, /* Defined elsewhere */ &asn_SPC_accept_as_specs_2 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_email_9[] = { { ATF_POINTER, 0, 0, .tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), .tag_mode = 0, .type = &asn_DEF_VisibleString, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "" }, }; static const ber_tlv_tag_t asn_DEF_email_tags_9[] = { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) }; static asn_SET_OF_specifics_t asn_SPC_email_specs_9 = { sizeof(struct email), offsetof(struct email, _asn_ctx), 0, /* XER encoding is XMLDelimitedItemList */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_email_9 = { "email", "email", &asn_OP_SET_OF, asn_DEF_email_tags_9, sizeof(asn_DEF_email_tags_9) /sizeof(asn_DEF_email_tags_9[0]), /* 1 */ asn_DEF_email_tags_9, /* Same as above */ sizeof(asn_DEF_email_tags_9) /sizeof(asn_DEF_email_tags_9[0]), /* 1 */ { 0, 0, SET_OF_constraint }, asn_MBR_email_9, 1, /* Single element */ &asn_SPC_email_specs_9 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_notify_7[] = { { ATF_NOFLAGS, 0, offsetof(struct notify, critical), .tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), .tag_mode = 0, .type = &asn_DEF_BOOLEAN, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "critical" }, { ATF_NOFLAGS, 0, offsetof(struct notify, email), .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), .tag_mode = 0, .type = &asn_DEF_email_9, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "email" }, }; static const ber_tlv_tag_t asn_DEF_notify_tags_7[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_notify_tag2el_7[] = { { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* critical */ { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, 0, 0 } /* email */ }; static asn_SEQUENCE_specifics_t asn_SPC_notify_specs_7 = { sizeof(struct notify), offsetof(struct notify, _asn_ctx), .tag2el = asn_MAP_notify_tag2el_7, .tag2el_count = 2, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ 2, /* First extension addition */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_notify_7 = { "notify", "notify", &asn_OP_SEQUENCE, asn_DEF_notify_tags_7, sizeof(asn_DEF_notify_tags_7) /sizeof(asn_DEF_notify_tags_7[0]), /* 1 */ asn_DEF_notify_tags_7, /* Same as above */ sizeof(asn_DEF_notify_tags_7) /sizeof(asn_DEF_notify_tags_7[0]), /* 1 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_notify_7, 2, /* Elements count */ &asn_SPC_notify_specs_7 /* Additional specs */ }; asn_TYPE_member_t asn_MBR_ActionItem_1[] = { { ATF_NOFLAGS, 0, offsetof(struct ActionItem, accept_as), .tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), .tag_mode = 0, .type = &asn_DEF_accept_as_2, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "accept-as" }, { ATF_POINTER, 1, offsetof(struct ActionItem, notify), .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), .tag_mode = 0, .type = &asn_DEF_notify_7, .type_selector = 0, { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 }, 0, 0, /* No default value */ .name = "notify" }, }; static const ber_tlv_tag_t asn_DEF_ActionItem_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_ActionItem_tag2el_1[] = { { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* accept-as */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* notify */ }; asn_SEQUENCE_specifics_t asn_SPC_ActionItem_specs_1 = { sizeof(struct ActionItem), offsetof(struct ActionItem, _asn_ctx), .tag2el = asn_MAP_ActionItem_tag2el_1, .tag2el_count = 2, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ 2, /* First extension addition */ }; asn_TYPE_descriptor_t asn_DEF_ActionItem = { "ActionItem", "ActionItem", &asn_OP_SEQUENCE, asn_DEF_ActionItem_tags_1, sizeof(asn_DEF_ActionItem_tags_1) /sizeof(asn_DEF_ActionItem_tags_1[0]), /* 1 */ asn_DEF_ActionItem_tags_1, /* Same as above */ sizeof(asn_DEF_ActionItem_tags_1) /sizeof(asn_DEF_ActionItem_tags_1[0]), /* 1 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_ActionItem_1, 2, /* Elements count */ &asn_SPC_ActionItem_specs_1 /* Additional specs */ };