YAZ  5.23.1
odr_any.c File Reference

Implements ODR ANY codec. More...

#include "odr-priv.h"

Go to the source code of this file.


int odr_any (ODR o, Odr_any **p, int opt, const char *name)

Detailed Description

Implements ODR ANY codec.

Definition in file odr_any.c.

Function Documentation

int odr_any ( ODR  o,
Odr_any **  p,
int  opt,
const char *  name 

This is a catch-all type. It stuffs a random ostring (assumed to be properly encoded) into the stream, or reads a full data element. Implicit tagging does not work, and neither does the optional flag, unless the element is the last in a sequence.

Definition at line 23 of file odr_any.c.

References ber_any(), odr::direction, odr::error, ODR_DECODE, odr_malloc(), odr_missing(), ODR_PRINT, odr_printf(), and odr_prname().

Referenced by ill_Electronic_Delivery_Service_0(), ill_Electronic_Delivery_Service_1(), ill_Extension(), odr_external(), and z_External().