/* ryoperation.c - ROSY: operations */
static char *rcsid
= "$Header: /f/osi/rosy/RCS/ryoperation.c,v 7.1 91/02/22 09:42:04 mrose Interim $";
* $Header: /f/osi/rosy/RCS/ryoperation.c,v 7.1 91/02/22 09:42:04 mrose Interim $
* $Log: ryoperation.c,v $
* Revision 7.1 91/02/22 09:42:04 mrose
* Revision 6.0 89/03/18 23:42:56 mrose
* Acquisition, use, and distribution of this module and related
* materials are subject to the restrictions of a license agreement.
* Consult the Preface in the User's Manual for the full terms of
return rosaplose (roi, ROS_PARAMETER, NULLCP, \
"mandatory parameter \"%s\" missing", "p"); \
int RyOperation (sd
, ryo
, op
, in
, out
, response
, roi
)
register struct RyOperation
*ryo
;
struct RoSAPindication
*roi
;
#ifdef notdef /* let RyOpInvoke check these as necessary */
switch (result
= RyOpInvoke (sd
, ryo
, op
, in
, out
, NULLIFP
, NULLIFP
,
NULLIP
, ROS_NOPRIO
, roi
)) {
switch (roi
-> roi_type
) {
case ROI_ERROR
: /* XXX: hope roe -> roe_error != NOTOK */
struct RoSAPerror
*roe
= &roi
-> roi_error
;
*response
= roe
-> roe_error
;
struct RoSAPureject
*rou
= &roi
-> roi_ureject
;
return rosaplose (roi
, rou
-> rou_reason
, NULLCP
,
return rosaplose (roi
, ROS_PROTOCOL
, NULLCP
,
"unknown indication type=%d", roi
-> roi_type
);
return rosaplose (roi
, ROS_PROTOCOL
, NULLCP
,
"unknown return from RyInvoke=%d", result
);