#include <string.h>
#include "odr-priv.h"
Go to the source code of this file.
Functions | |
| static int | ber_encinteger (ODR o, int val) |
| static int | ber_decinteger (const unsigned char *buf, int *val, int max) |
| int | ber_integer (ODR o, int *val) |
This source file implements BER encoding and decoding of the INTEGER type.
Definition in file ber_int.c.
| int ber_decinteger | ( | const unsigned char * | buf, | |
| int * | val, | |||
| int | max | |||
| ) | [static] |
| int ber_encinteger | ( | ODR | o, | |
| int | val | |||
| ) | [static] |
Definition at line 64 of file ber_int.c.
References ber_enclen(), and odr_write().
Referenced by ber_integer().
| int ber_integer | ( | ODR | o, | |
| int * | val | |||
| ) |
Definition at line 36 of file ber_int.c.
References ber_decinteger(), ber_encinteger(), odr::bp, odr::direction, ODR_DECODE, ODR_ENCODE, odr_max, ODR_PRINT, odr_seterror(), OOTHER, and OPROTO.
Referenced by odr_enum(), and odr_integer().
1.5.6