2 * Copyright (c) 1995, Index Data.
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.1 1995-06-01 11:22:17 quinn
15 /* -------------------- Resource 1 ------------------------- */
17 int z_Estimate1(ODR o, Z_Estimate1, int opt)
19 if (!odr_sequence_begin(o, p, sizeof(**p)))
20 return opt && odr_ok(o);
22 odr_implicit(o, odr_integer, &(*p)->type, ODR_CONTEXT, 1, 0) &&
23 odr_implicit(o, odr_integer, &(*p)->value, ODR_CONTEXT, 2, 0) &&
24 odr_implicit(o, odr_integer, &(*p)->currencyCode, ODR_CONTEXT, 3, 1) &&
28 int z_ResourceReport1(ODR o, Z_ResourceReport1 **p, int opt)
30 if (!odr_sequence_begin(o, p, sizeof(**p)))
31 return opt && odr_ok(o);
33 odr_implicit_settag(o, ODR_CONTEXT, 1) &&
34 odr_sequence_of(o, z_Estimate1, &(*p)->estimates,
35 &(*p)->num_estimates) &&
36 odr_implicit(o, odr_visiblestring, &(*p)->message, ODR_CONTEXT, 2, 0) &&
40 /* -------------------- Resource 1 ------------------------- */