X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2Fprt-rsc.c;h=f7fe7b651307195addf7d0039d1193a51d460835;hb=3060b77b776350c6e677c06b3070542dba5c42b6;hp=efec5e4705af07f2c396db8f2d21b1bae130aee9;hpb=657fb99115b87a5244e9a33bbe4ca3d9d18849c4;p=yaz-moved-to-github.git diff --git a/asn/prt-rsc.c b/asn/prt-rsc.c index efec5e4..f7fe7b6 100644 --- a/asn/prt-rsc.c +++ b/asn/prt-rsc.c @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: prt-rsc.c,v $ - * Revision 1.4 1995-09-27 15:02:43 quinn + * Revision 1.6 1998-02-11 11:53:32 adam + * Changed code so that it compiles as C++. + * + * Revision 1.5 1995/09/29 17:11:55 quinn + * Smallish + * + * Revision 1.4 1995/09/27 15:02:43 quinn * Modified function heads & prototypes. * * Revision 1.3 1995/06/02 09:49:15 quinn @@ -34,13 +40,13 @@ int z_Estimate1(ODR o, Z_Estimate1 **p, int opt) odr_sequence_end(o); } -int MDF z_ResourceReport1(ODR o, Z_ResourceReport1 **p, int opt) +int z_ResourceReport1(ODR o, Z_ResourceReport1 **p, int opt) { if (!odr_sequence_begin(o, p, sizeof(**p))) return opt && odr_ok(o); return odr_implicit_settag(o, ODR_CONTEXT, 1) && - odr_sequence_of(o, z_Estimate1, &(*p)->estimates, + odr_sequence_of(o, (Odr_fun)z_Estimate1, &(*p)->estimates, &(*p)->num_estimates) && odr_implicit(o, odr_visiblestring, &(*p)->message, ODR_CONTEXT, 2, 0) && odr_sequence_end(o); @@ -61,13 +67,13 @@ int z_Estimate2(ODR o, Z_Estimate2 **p, int opt) odr_sequence_end(o); } -int MDF z_ResourceReport2(ODR o, Z_ResourceReport2 **p, int opt) +int z_ResourceReport2(ODR o, Z_ResourceReport2 **p, int opt) { if (!odr_sequence_begin(o, p, sizeof(**p))) return opt && odr_ok(o); return odr_implicit_settag(o, ODR_CONTEXT, 1) && - (odr_sequence_of(o, z_Estimate2, &(*p)->estimates, + (odr_sequence_of(o, (Odr_fun)z_Estimate2, &(*p)->estimates, &(*p)->num_estimates) || odr_ok(o)) && odr_implicit(o, odr_visiblestring, &(*p)->message, ODR_CONTEXT, 2, 1) && odr_sequence_end(o);