/* psapreport.c - PPM: exception reports */
static char *rcsid
= "$Header: /f/osi/psap2/RCS/psapreport.c,v 7.1 91/02/22 09:37:43 mrose Interim $";
* $Header: /f/osi/psap2/RCS/psapreport.c,v 7.1 91/02/22 09:37:43 mrose Interim $
* Revision 7.1 91/02/22 09:37:43 mrose
* Revision 7.0 89/11/23 22:14:28 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-U-EXCEPTION-REPORT.REQUEST */
int PUReportRequest (sd
, reason
, data
, ndata
, pi
)
struct PSAPindication
*pi
;
register struct psapblk
*pb
;
struct SSAPindication sis
;
register struct SSAPabort
*sa
= &sis
.si_abort
;
toomuchP (data
, ndata
, NPDATA
, "report");
if ((result
= info2ssdu (pb
, pi
, data
, ndata
, &realbase
, &base
, &len
,
"P-U-EXCEPTION-REPORT user-data", PPDU_NONE
))
if ((result
= SUReportRequest (sd
, reason
, base
, len
, &sis
)) == NOTOK
)
if (SC_FATAL (sa
-> sa_reason
))
(void) ss2pslose (pb
, pi
, "SUReportRequest", sa
);
(void) ss2pslose (NULLPB
, pi
, "SUReportRequest", sa
);
(void) sigiomask (smask
);