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