Commit a646ccb4 authored by Lev Walkin's avatar Lev Walkin

ber_dec -> asn_dec

parent 770f8cf5
...@@ -903,7 +903,7 @@ Here is how the buffer can be deserialized into the structure: ...@@ -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); ...@@ -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
......
...@@ -2087,7 +2087,7 @@ simple_deserializer(const void *buffer, size_t buf_size) { ...@@ -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; ...@@ -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. ...@@ -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/}
......
No preview for this file type
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment