ber_dec -> asn_dec

git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@509 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2004-10-20 15:48:55 +00:00
parent 399983b23e
commit af2155e96f
3 changed files with 6 additions and 6 deletions

View File

@ -903,7 +903,7 @@ Here is how the buffer can be deserialized into the structure:
Rectangle_t * Rectangle_t *
simple_deserializer(const void *buffer, size_t buf_size) { simple_deserializer(const void *buffer, size_t buf_size) {
    Rectangle_t *rect = 0;    /* Note this 0! */     Rectangle_t *rect = 0;    /* Note this 0! */
    ber_dec_rval_t rval;     asn_dec_rval_t rval;
   
    rval = asn_DEF_Rectangle->ber_decoder(0,     rval = asn_DEF_Rectangle->ber_decoder(0,
          &asn_DEF_Rectangle,           &asn_DEF_Rectangle,
@ -1022,7 +1022,7 @@ mode continuation feature);
<LI>... other codes may be defined as well. <LI>... other codes may be defined as well.
</LI> </LI>
</UL> </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 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 hypothetical example of two buffers (of 100 and 200 bytes), the first
call to ber_decode() would return with .code = RC_WMORE and .consumed call to ber_decode() would return with .code = RC_WMORE and .consumed

View File

@ -2087,7 +2087,7 @@ simple_deserializer(const void *buffer, size_t buf_size) {
Rectangle_t *rect = 0; /* Note this 0! */ Rectangle_t *rect = 0; /* Note this 0! */
\layout LyX-Code \layout LyX-Code
ber_dec_rval_t rval; asn_dec_rval_t rval;
\layout LyX-Code \layout LyX-Code
@ -2279,7 +2279,7 @@ RC_FAIL: General failure to decode the buffer;
other codes may be defined as well. other codes may be defined as well.
\layout Standard \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. number of bytes which is consumed from the buffer.
In the previous hypothetical example of two buffers (of 100 and 200 bytes), 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 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 \layout Bibliography
\bibitem [Dub00]{Dub00} \bibitem [Dub00]{Dub00}
Olivier Dubuisson -- Olivier Dubuisson ---
\emph on \emph on
ASN.1 Communication between heterogeneous systems ASN.1 Communication between heterogeneous systems
\emph default \emph default
-- Morgan Kaufmann Publishers, 2000. --- Morgan Kaufmann Publishers, 2000.
\begin_inset LatexCommand \htmlurl{http://asn1.elibel.tm.fr/en/book/} \begin_inset LatexCommand \htmlurl{http://asn1.elibel.tm.fr/en/book/}

Binary file not shown.