/* psapmajor1.c - PPM: initiate majorsyncs */
static char *rcsid
= "$Header: /f/osi/psap2/RCS/psapmajor1.c,v 7.1 91/02/22 09:37:35 mrose Interim $";
* $Header: /f/osi/psap2/RCS/psapmajor1.c,v 7.1 91/02/22 09:37:35 mrose Interim $
* Revision 7.1 91/02/22 09:37:35 mrose
* Revision 7.0 89/11/23 22:14:22 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
/* \f P-{MAJOR-SYNC,ACTIVITY-END}.REQUEST */
int PMajSyncRequestAux (sd
, ssn
, data
, ndata
, pi
, dtype
, sfunc
, stype
)
struct PSAPindication
*pi
;
register struct psapblk
*pb
;
struct SSAPindication sis
;
register struct SSAPabort
*sa
= &sis
.si_abort
;
toomuchP (data
, ndata
, NPDATA
, dtype
);
if ((result
= info2ssdu (pb
, pi
, data
, ndata
, &realbase
, &base
, &len
,
"P-MAJOR-SYNC (ACTIVITY-END) user-data",
if ((result
= (*sfunc
) (sd
, ssn
, base
, len
, &sis
)) == NOTOK
)
if (SC_FATAL (sa
-> sa_reason
))
(void) ss2pslose (pb
, pi
, stype
, sa
);
(void) ss2pslose (NULLPB
, pi
, stype
, sa
);
(void) sigiomask (smask
);