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
f794a3be
Commit
f794a3be
authored
Sep 29, 2021
by
Senthil Prabakaran
Committed by
Mouse
May 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add JER decode code
parent
7bd71b45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
skeletons/asn_application.c
skeletons/asn_application.c
+9
-0
skeletons/asn_application.h
skeletons/asn_application.h
+2
-1
No files found.
skeletons/asn_application.c
View file @
f794a3be
...
...
@@ -517,5 +517,14 @@ asn_decode(const asn_codec_ctx_t *opt_codec_ctx,
ASN__DECODE_FAILED
;
#endif
/* !defined(ASN_DISABLE_XER_SUPPORT) */
}
case
ATS_BASIC_JER
:
case
ATS_CANONICAL_JER
:
#if !defined(ASN_DISABLE_JER_SUPPORT)
return
jer_decode
(
opt_codec_ctx
,
td
,
sptr
,
buffer
,
size
);
#else
errno
=
ENOENT
;
ASN__DECODE_FAILED
;
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
}
}
skeletons/asn_application.h
View file @
f794a3be
...
...
@@ -60,7 +60,8 @@ enum asn_transfer_syntax {
* CANONICAL-XER is a more strict variant of BASIC-XER.
*/
ATS_BASIC_XER
,
ATS_CANONICAL_XER
ATS_CANONICAL_XER
,
ATS_BASIC_JER
,
};
/*
...
...
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