2 * Copyright (c) 1995-2000, Index Data
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.11 2000-02-29 13:44:55 adam
8 * Check for config.h (currently not generated).
10 * Revision 1.10 1999/11/30 13:47:11 adam
11 * Improved installation. Moved header files to include/yaz.
13 * Revision 1.9 1998/02/11 11:53:34 adam
14 * Changed code so that it compiles as C++.
16 * Revision 1.8 1997/05/14 06:53:59 adam
19 * Revision 1.7 1996/02/20 12:52:54 quinn
22 * Revision 1.6 1995/12/14 16:28:26 quinn
25 * Revision 1.5 1995/09/29 17:12:27 quinn
28 * Revision 1.4 1995/09/27 15:03:00 quinn
29 * Modified function heads & prototypes.
31 * Revision 1.3 1995/05/16 08:51:00 quinn
32 * License, documentation, and memory fixes
34 * Revision 1.2 1995/03/08 12:12:31 quinn
35 * Added better error checking.
37 * Revision 1.1 1995/02/02 16:21:54 quinn
47 int odr_peektag(ODR o, int *zclass, int *tag, int *cons)
49 if (o->direction != ODR_DECODE)
54 if (o->stackp > -1 && !odr_constructed_more(o))
56 if (ber_dectag(o->bp, zclass, tag, cons) <= 0)
64 int odr_implicit_settag(ODR o, int zclass, int tag)
76 int odr_initmember(ODR o, void *p, int size)
78 char **pp = (char **) p;
82 if (o->direction == ODR_DECODE)
83 *pp = (char *)odr_malloc(o, size);