ContentElementTag.c 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  3. * From ASN.1 module "Seader"
  4. * found in "seader.asn1"
  5. * `asn1c -D ./lib/asn1 -no-gen-example -pdu=all`
  6. */
  7. #include "ContentElementTag.h"
  8. /*
  9. * This type is implemented using NativeEnumerated,
  10. * so here we adjust the DEF accordingly.
  11. */
  12. static asn_oer_constraints_t asn_OER_type_ContentElementTag_constr_1 CC_NOTUSED = {
  13. { 0, 0 },
  14. -1};
  15. asn_per_constraints_t asn_PER_type_ContentElementTag_constr_1 CC_NOTUSED = {
  16. { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
  17. { APC_UNCONSTRAINED, -1, -1, 0, 0 },
  18. 0, 0 /* No PER value map */
  19. };
  20. static const asn_INTEGER_enum_map_t asn_MAP_ContentElementTag_value2enum_1[] = {
  21. { 4, 32, "implicitFormatPhysicalAccessBits" }
  22. };
  23. static const unsigned int asn_MAP_ContentElementTag_enum2value_1[] = {
  24. 0 /* implicitFormatPhysicalAccessBits(4) */
  25. };
  26. const asn_INTEGER_specifics_t asn_SPC_ContentElementTag_specs_1 = {
  27. asn_MAP_ContentElementTag_value2enum_1, /* "tag" => N; sorted by tag */
  28. asn_MAP_ContentElementTag_enum2value_1, /* N => "tag"; sorted by N */
  29. 1, /* Number of elements in the maps */
  30. 0, /* Enumeration is not extensible */
  31. 1, /* Strict enumeration */
  32. 0, /* Native long size */
  33. 0
  34. };
  35. static const ber_tlv_tag_t asn_DEF_ContentElementTag_tags_1[] = {
  36. (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
  37. };
  38. asn_TYPE_descriptor_t asn_DEF_ContentElementTag = {
  39. "ContentElementTag",
  40. "ContentElementTag",
  41. &asn_OP_NativeEnumerated,
  42. asn_DEF_ContentElementTag_tags_1,
  43. sizeof(asn_DEF_ContentElementTag_tags_1)
  44. /sizeof(asn_DEF_ContentElementTag_tags_1[0]), /* 1 */
  45. asn_DEF_ContentElementTag_tags_1, /* Same as above */
  46. sizeof(asn_DEF_ContentElementTag_tags_1)
  47. /sizeof(asn_DEF_ContentElementTag_tags_1[0]), /* 1 */
  48. { &asn_OER_type_ContentElementTag_constr_1, &asn_PER_type_ContentElementTag_constr_1, NativeEnumerated_constraint },
  49. 0, 0, /* Defined elsewhere */
  50. &asn_SPC_ContentElementTag_specs_1 /* Additional specs */
  51. };