|
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 r
Length: 1451 (0x5ab) Types: TextFile Names: »ryinit-invoke.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« └─⟦d3ac74d73⟧ └─⟦this⟧ »isode-5.0/doc/manual/ryinit-invoke.c« └─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/doc/manual/ryinit-invoke.c«
... int result, response; struct type_MODULE_argument *arg; caddr_t out; struct RoSAPindication rois; register struct RoSAPindication *roi = &rois; register struct RoSAPpreject *rop = &roi -> roi_preject; /* allocate and initialize ``arg'' here... */ switch (result = op_MODULE_operation (sd, arg, &out, &response, roi)) { case NOTOK: /* failure */ if (ROS_FATAL (rop -> rop_reason)) ros_adios (rop, "OPERATION"); ros_advise (rop, "OPERATION"); break; case OK: /* got a result/error response */ switch (response) { case RY_RESULT: /* got a result */ { register struct type_MODULE_result *res = (struct type_MODULE_result *) out; /* do something with ``res'' here... */ free_MODULE_result (res); break; } case error_MODULE_error1: { register struct type_MODULE_parameter *parm = (struct type_MODULE_parameter *) out; /* do something with ``parm'' here... */ free_MODULE_parameter (parm); break; } /* other errors are handled here... */ default: adios (NULLCP, "unknown result/error returned (%d)", response); /* NOTREACHED */ } break; case DONE: /* got RO-END? */ adios (NULLCP, "got RO-END.INDICATION"); /* NOTREACHED */ default: adios (NULLCP, "unknown return from RyOperation=%d", result); /* NOTREACHED */ } free_MODULE_argument (arg); ...