2 * Copyright (C) 1995-2005, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: ber_null.c,v 1.3 2005-01-15 19:47:11 adam Exp $
10 * \brief Implements ber_null
12 * This source file implements BER encoding and decoding of
22 * ber_null: BER-en/decoder for NULL type.
29 if (odr_putc(o, 0X00) < 0)
32 fprintf(stderr, "[NULL]\n");
38 odr_seterror(o, OPROTO, 39);
41 if (*(o->bp++) != 0X00)
43 odr_seterror(o, OPROTO, 12);
47 fprintf(stderr, "[NULL]\n");
53 odr_seterror(o, OOTHER, 13);