|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T g
Length: 1557 (0x615)
Types: TextFile
Names: »grind2b-3c.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
└─⟦eba4602b1⟧ »./isode-5.0.tar.Z«
└─⟦d3ac74d73⟧
└─⟦this⟧ »isode-5.0/doc/manual/grind2b-3c.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z«
└─⟦de7628f85⟧
└─⟦this⟧ »isode-6.0/doc/manual/grind2b-3c.c«
...
static int ros_invoke (sd, rox)
int sd;
register struct RoSAPinvoke *rox;
{
int result;
register struct dispatch *ds;
struct RoSAPindication rois;
register struct RoSAPindication *roi = &rois;
register struct RoSAPpreject *rop = &roi -> roi_preject;
for (ds = dispatches; ds -> ds_operation != APDU_UNKNOWN; ds++)
if (ds -> ds_operation == rox -> rox_op)
break;
if (ds -> ds_operation == APDU_UNKNOWN) {
if (RoURejectRequest (sd, &rox -> rox_id, ROS_IP_UNRECOG,
ROS_NOPRIO, roi) == NOTOK)
error ("RO-U-REJECT.REQUEST: %s", RoErrString (rop -> rop_reason));
goto out;
}
if (rox -> rox_nolinked == 0) {
if (RoURejectRequest (sd, &rox -> rox_id, ROS_IP_LINKED,
ROS_NOPRIO, roi) == NOTOK)
error ("RO-U-REJECT.REQUEST: %s", RoErrString (rop -> rop_reason));
goto out;
}
switch (result = (*ds -> ds_vector) (rox)) {
case ERROR_UNKNOWN:
if (RoResultRequest (sd, rox -> rox_id, rox -> rox_op,
rox -> rox_args, ROS_NOPRIO, roi) == NOTOK)
error ("RO-RESULT.REQUEST: %s",
RoErrString (rop -> rop_reason));
break;
default:
if (RoErrorRequest (sd, rox -> rox_id, result, rox -> rox_args,
ROS_NOPRIO, roi) == NOTOK)
error ("RO-ERROR.REQUEST: %s",
RoErrString (rop -> rop_reason));
break;
case ERROR_MISTYPED:
if (RoURejectRequest (sd, &rox -> rox_id, ROS_IP_MISTYPED,
ROS_NOPRIO, roi) == NOTOK)
error ("RO-U-REJECT.REQUEST: %s",
RoErrString (rop -> rop_reason));
break;
}
out: ;
ROXFREE (rox);
}
...