YAZ 5.37.0
dumpber.c File Reference

Implements BER dumping. More...

#include <stdio.h>
#include <yaz/snprintf.h>
#include "odr-priv.h"

Go to the source code of this file.

Functions

static int do_dumpBER (FILE *f, const char *buf, int len, int level, int offset)
int odr_dumpBER (FILE *f, const char *buf, int len)

Detailed Description

Implements BER dumping.

Definition in file dumpber.c.

Function Documentation

◆ do_dumpBER()

int do_dumpBER ( FILE * f,
const char * buf,
int len,
int level,
int offset )
static

Definition at line 19 of file dumpber.c.

References ber_declen(), ber_dectag(), do_dumpBER(), ODR_CONTEXT, ODR_UNIVERSAL, and yaz_snprintf().

Referenced by do_dumpBER(), and odr_dumpBER().

◆ odr_dumpBER()

int odr_dumpBER ( FILE * f,
const char * buf,
int len )

Definition at line 130 of file dumpber.c.

References do_dumpBER().

Referenced by do_read(), ir_read(), and ztest_esrequest().