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
9ce64c13
Commit
9ce64c13
authored
Nov 07, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API reference
parent
933b950a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
561 additions
and
40 deletions
+561
-40
doc/asn1c-usage.pdf
doc/asn1c-usage.pdf
+0
-0
doc/docsrc/Makefile.am
doc/docsrc/Makefile.am
+1
-1
doc/docsrc/asn1c-usage.tex
doc/docsrc/asn1c-usage.tex
+548
-34
doc/docsrc/asn_dec_rval.inc
doc/docsrc/asn_dec_rval.inc
+12
-5
No files found.
doc/asn1c-usage.pdf
View file @
9ce64c13
No preview for this file type
doc/docsrc/Makefile.am
View file @
9ce64c13
...
...
@@ -8,6 +8,6 @@ regen:
$(XELATEX)
$(XELATEX_FLAGS)
-no-pdf
$(TEXSRC)
$(XELATEX)
$(XELATEX_FLAGS)
$(TEXSRC)
EXTRA_DIST
=
$(srcdir)
/
*
.tex
EXTRA_DIST
=
$(srcdir)
/
*
.tex
$(srcdir)
/
*
.inc
CLEANFILES
=
*
.
*
~
*
.aux
*
.dvi
*
.log
*
.out
*
.toc
doc/docsrc/asn1c-usage.tex
View file @
9ce64c13
This diff is collapsed.
Click to expand it.
doc/docsrc/asn_dec_rval.inc
View file @
9ce64c13
Upon
unsuccessful
termination
,
the
\code
{
*
struct_ptr_ptr
}
may
contain
partially
decoded
data
.
This
data
may
be
useful
for
debugging
(
such
as
by
using
\code
{
asn_fprint
()})
.
Don
'
t
forget
to
discard
the
unused
partially
decoded
data
by
calling
\code
{
ASN_STRUCT_FREE
()}
or
\code
{
ASN_STRUCT_RESET
()}
.
The
return
value
is
returned
in
a
compound
structure
:
\begin
{
codesample
}
typedef
struct
{
...
...
@@ -12,11 +19,11 @@ typedef struct {
The
\code
{
.
code
}
member
specifies
the
decoding
outcome
.
\begin
{
description
}[
labelindent
=
\parindent
]
\
item
[
RC\_OK
]
Decoded
successfully
and
completely
\
item
[
RC\_WMORE
]
More
data
expected
,
call
again
\
item
[
RC\_FAIL
]
Failed
for
good
\end
{
description
}
\begin
{
tabular
}[
h
!
]{
ll
}
\
texttt
{
RC\_OK
}
&
Decoded
successfully
and
completely
\\
\
texttt
{
RC\_WMORE
}
&
More
data
expected
,
call
again
\\
\
texttt
{
RC\_FAIL
}
&
Failed
for
good
\end
{
tabular
}
The
\code
{
.
consumed
}
member
specifies
the
amount
of
\code
{
buffer
}
data
that
was
used
during
parsing
,
irrespectively
of
the
\code
{
.
code
}
.
...
...
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