2 * Copyright (C) 1995-2007, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: ber_null.c,v 1.6 2007-01-03 08:42:15 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)
35 odr_seterror(o, OPROTO, 39);
38 if (*(o->bp++) != 0X00)
40 odr_seterror(o, OPROTO, 12);
47 odr_seterror(o, OOTHER, 13);
54 * indent-tabs-mode: nil
56 * vim: shiftwidth=4 tabstop=8 expandtab