1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2008 Index Data
3 * See the file LICENSE for details.
8 * \brief Implements ber_null
10 * This source file implements BER encoding and decoding of
20 * ber_null: BER-en/decoder for NULL type.
27 if (odr_putc(o, 0X00) < 0)
33 odr_seterror(o, OPROTO, 39);
36 if (*(o->bp++) != 0X00)
38 odr_seterror(o, OPROTO, 12);
45 odr_seterror(o, OOTHER, 13);
52 * indent-tabs-mode: nil
54 * vim: shiftwidth=4 tabstop=8 expandtab