ber_int.c File Reference

Implements BER INTEGER encoding and decoding. More...

#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)


Detailed Description

Implements BER INTEGER encoding and decoding.

This source file implements BER encoding and decoding of the INTEGER type.

Definition in file ber_int.c.


Function Documentation

int ber_decinteger ( const unsigned char *  buf,
int *  val,
int  max 
) [static]

Definition at line 85 of file ber_int.c.

References ber_declen().

Referenced by ber_integer().

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 
)


Generated on Mon Dec 29 12:08:46 2008 for YAZ by  doxygen 1.5.6