Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qwebaby3
asn1c
Commits
a646ccb4
Commit
a646ccb4
authored
20 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
ber_dec -> asn_dec
parent
770f8cf5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/asn1c-usage.html
+2
-2
2 additions, 2 deletions
doc/asn1c-usage.html
doc/asn1c-usage.lyx
+4
-4
4 additions, 4 deletions
doc/asn1c-usage.lyx
doc/asn1c-usage.pdf
+0
-0
0 additions, 0 deletions
doc/asn1c-usage.pdf
with
6 additions
and
6 deletions
doc/asn1c-usage.html
+
2
−
2
View file @
a646ccb4
...
...
@@ -903,7 +903,7 @@ Here is how the buffer can be deserialized into the structure:
Rectangle_t
*
simple_deserializer(const
void
*buffer,
size_t
buf_size)
{
Rectangle_t
*rect
=
0;
/*
Note
this
0!
*/
ber
_dec_rval_t
rval;
asn
_dec_rval_t
rval;
rval
=
asn_DEF_Rectangle-
>
ber_decoder(0,
&
asn_DEF_Rectangle,
...
...
@@ -1022,7 +1022,7 @@ mode continuation feature);
<LI>
... other codes may be defined as well.
</LI>
</UL>
Together with the return code (.code) the
ber
_dec_rval_t type contains
Together with the return code (.code) the
asn
_dec_rval_t type contains
the number of bytes which is consumed from the buffer. In the previous
hypothetical example of two buffers (of 100 and 200 bytes), the first
call to ber_decode() would return with .code = RC_WMORE and .consumed
...
...
This diff is collapsed.
Click to expand it.
doc/asn1c-usage.lyx
+
4
−
4
View file @
a646ccb4
...
...
@@ -2087,7 +2087,7 @@ simple_deserializer(const void *buffer, size_t buf_size) {
Rectangle_t *rect = 0; /* Note this 0! */
\layout LyX-Code
ber
_dec_rval_t rval;
asn
_dec_rval_t rval;
\layout LyX-Code
...
...
@@ -2279,7 +2279,7 @@ RC_FAIL: General failure to decode the buffer;
other codes may be defined as well.
\layout Standard
Together with the return code (.code) the
ber
_dec_rval_t type contains the
Together with the return code (.code) the
asn
_dec_rval_t type contains the
number of bytes which is consumed from the buffer.
In the previous hypothetical example of two buffers (of 100 and 200 bytes),
the first call to ber_decode() would return with .code = RC_WMORE and .consumed
...
...
@@ -2788,11 +2788,11 @@ The OpenSource ASN.1 Compiler.
\layout Bibliography
\bibitem [Dub00]{Dub00}
Olivier Dubuisson --
Olivier Dubuisson --
-
\emph on
ASN.1 Communication between heterogeneous systems
\emph default
-- Morgan Kaufmann Publishers, 2000.
--
-
Morgan Kaufmann Publishers, 2000.
\begin_inset LatexCommand \htmlurl{http://asn1.elibel.tm.fr/en/book/}
...
...
This diff is collapsed.
Click to expand it.
doc/asn1c-usage.pdf
+
0
−
0
View file @
a646ccb4
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment