2 * Copyright (C) 1994, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.3 1995-03-08 12:12:09 quinn
8 * Added better error checking.
10 * Revision 1.2 1995/02/09 15:51:46 quinn
13 * Revision 1.1 1995/02/02 16:21:52 quinn
21 * BER-en/decoder for NULL type.
23 int ber_null(ODR o, int *val)
36 fprintf(stderr, "[NULL]\n");
40 if (*(o->bp++) != 0X00)
47 fprintf(stderr, "[NULL]\n");
50 case ODR_PRINT: return 1;
51 default: o->error = OOTHER; return 0;