Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
295e2458
Commit
295e2458
authored
Feb 25, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strict enumeration support
parent
9f30ef19
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
tests/42-real-life-OK.asn1.-PR
tests/42-real-life-OK.asn1.-PR
+2
-1
tests/66-ref-simple-OK.asn1.-P
tests/66-ref-simple-OK.asn1.-P
+2
-1
tests/70-xer-test-OK.asn1.-P
tests/70-xer-test-OK.asn1.-P
+4
-2
No files found.
tests/42-real-life-OK.asn1.-PR
View file @
295e2458
...
@@ -683,7 +683,8 @@ static asn_INTEGER_specifics_t asn_DEF_accept_as_specs = {
...
@@ -683,7 +683,8 @@ static asn_INTEGER_specifics_t asn_DEF_accept_as_specs = {
asn_MAP_accept_as_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_accept_as_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_accept_as_enum2value, /* N => "tag"; sorted by N */
asn_MAP_accept_as_enum2value, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */
3, /* Number of elements in the maps */
1 /* Enumeration is extensible */
1, /* Enumeration is extensible */
1 /* Strict enumeration */
};
};
static ber_tlv_tag_t asn_DEF_accept_as_tags[] = {
static ber_tlv_tag_t asn_DEF_accept_as_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
...
...
tests/66-ref-simple-OK.asn1.-P
View file @
295e2458
...
@@ -177,7 +177,8 @@ static asn_INTEGER_specifics_t asn_DEF_SimpleType_specs = {
...
@@ -177,7 +177,8 @@ static asn_INTEGER_specifics_t asn_DEF_SimpleType_specs = {
asn_MAP_SimpleType_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_SimpleType_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_SimpleType_enum2value, /* N => "tag"; sorted by N */
asn_MAP_SimpleType_enum2value, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */
3, /* Number of elements in the maps */
0 /* Enumeration is not extensible */
0, /* Enumeration is not extensible */
1 /* Strict enumeration */
};
};
static ber_tlv_tag_t asn_DEF_SimpleType_tags[] = {
static ber_tlv_tag_t asn_DEF_SimpleType_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
...
...
tests/70-xer-test-OK.asn1.-P
View file @
295e2458
...
@@ -763,7 +763,8 @@ static asn_INTEGER_specifics_t asn_DEF_SetOfEnums_Member_specs = {
...
@@ -763,7 +763,8 @@ static asn_INTEGER_specifics_t asn_DEF_SetOfEnums_Member_specs = {
asn_MAP_SetOfEnums_Member_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_SetOfEnums_Member_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_SetOfEnums_Member_enum2value, /* N => "tag"; sorted by N */
asn_MAP_SetOfEnums_Member_enum2value, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
2, /* Number of elements in the maps */
0 /* Enumeration is not extensible */
0, /* Enumeration is not extensible */
1 /* Strict enumeration */
};
};
static ber_tlv_tag_t asn_DEF_SetOfEnums_Member_tags[] = {
static ber_tlv_tag_t asn_DEF_SetOfEnums_Member_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
...
@@ -946,7 +947,8 @@ static asn_INTEGER_specifics_t asn_DEF_id_specs = {
...
@@ -946,7 +947,8 @@ static asn_INTEGER_specifics_t asn_DEF_id_specs = {
asn_MAP_id_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_id_value2enum, /* "tag" => N; sorted by tag */
asn_MAP_id_enum2value, /* N => "tag"; sorted by N */
asn_MAP_id_enum2value, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
2, /* Number of elements in the maps */
1 /* Enumeration is extensible */
1, /* Enumeration is extensible */
0
};
};
static ber_tlv_tag_t asn_DEF_id_tags[] = {
static ber_tlv_tag_t asn_DEF_id_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment