diff --git a/doc/asn1c-usage.html b/doc/asn1c-usage.html index e9096bfc3f5d7949a3fa130ba4399e0d5baa960a..fd0fa9265da73614d438d6ad8a4ef8d052154829 100644 --- a/doc/asn1c-usage.html +++ b/doc/asn1c-usage.html @@ -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 diff --git a/doc/asn1c-usage.lyx b/doc/asn1c-usage.lyx index c6b377f9cdfcfaed53be8416c9b2d65fec7e1337..59859d1dda2e0fb7094bf71df0ff11e4839aab9d 100644 --- a/doc/asn1c-usage.lyx +++ b/doc/asn1c-usage.lyx @@ -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/} diff --git a/doc/asn1c-usage.pdf b/doc/asn1c-usage.pdf index bab14c4451be17afee8fae99e23f561afb6afd8c..79e95272bfa5004f0eb808f9ee249b8f0c5f643c 100644 Binary files a/doc/asn1c-usage.pdf and b/doc/asn1c-usage.pdf differ