|
YAZ 5.35.1
|
Implements BER ANY encoding and decoding. More...
Go to the source code of this file.
Macros | |
| #define | BER_ANY_DEBUG 0 |
Functions | |
| int | ber_any (ODR o, Odr_any **p) |
| int | completeBER_n (const char *buf, int len, int level) |
| int | completeBER (const char *buf, int len) |
| determine whether a buffer is a complete BER buffer | |
Implements BER ANY encoding and decoding.
This source file implements BER encoding and decoding of the ANY type.
Definition in file ber_any.c.
Definition at line 21 of file ber_any.c.
References Odr_private::bp, completeBER(), odr::direction, ODR_DECODE, ODR_ENCODE, odr_malloc(), odr_max, odr_seterror(), odr_write(), OOTHER, odr::op, and OPROTO.
Referenced by odr_any().
| int completeBER | ( | const char * | buf, |
| int | len | ||
| ) |
determine whether a buffer is a complete BER buffer
| buf | BER buffer |
| len | length of buffer |
| 0 | package is incomplete |
| >0 | package is complete and length is return value |
Definition at line 123 of file ber_any.c.
References completeBER_n(), yaz_log(), and YLOG_LOG.
Referenced by ber_any(), and cs_complete_auto_x().
| int completeBER_n | ( | const char * | buf, |
| int | len, | ||
| int | level | ||
| ) |
Definition at line 48 of file ber_any.c.
References ber_declen(), ber_dectag(), completeBER_n(), yaz_log(), and YLOG_LOG.
Referenced by completeBER(), and completeBER_n().