|
|
1.1 root 1: /* ns_ro_ureject.c - */
2:
3: #ifndef lint
4: static char *rcsid = "$Header: /f/osi/quipu/RCS/task_ureject.c,v 7.0 89/11/23 22:18:17 mrose Rel $";
5: #endif
6:
7: /*
8: * $Header: /f/osi/quipu/RCS/task_ureject.c,v 7.0 89/11/23 22:18:17 mrose Rel $
9: *
10: *
11: * $Log: task_ureject.c,v $
12: * Revision 7.0 89/11/23 22:18:17 mrose
13: * Release 6.0
14: *
15: */
16:
17: /*
18: * NOTICE
19: *
20: * Acquisition, use, and distribution of this module and related
21: * materials are subject to the restrictions of a license agreement.
22: * Consult the Preface in the User's Manual for the full terms of
23: * this agreement.
24: *
25: */
26:
27:
28: /* LINTLIBRARY */
29:
30: #include "rosap.h"
31: #include "quipu/util.h"
32: #include "quipu/connection.h"
33:
34: extern LLog * log_dsap;
35:
36: send_ro_ureject(ad, id_p, urej)
37: int ad;
38: int *id_p;
39: int urej;
40: {
41: struct RoSAPindication roi_s;
42: struct RoSAPindication *roi = &roi_s;
43: struct RoSAPpreject *rop = &(roi->roi_preject);
44:
45: DLOG(log_dsap, LLOG_TRACE, ("send_ro_ureject()"));
46:
47: watch_dog("RoURejectRequest");
48: if(RoURejectRequest(ad, id_p, urej, ROS_NOPRIO, roi) == NOTOK)
49: {
50: watch_dog_reset();
51: LLOG(log_dsap, LLOG_EXCEPTIONS, ("RO-U-REJECT.REQUEST: %s",
52: RoErrString(rop->rop_reason)));
53: if(ROS_FATAL(rop->rop_reason) || (rop->rop_reason == ROS_PARAMETER))
54: {
55: LLOG(log_dsap, LLOG_FATAL, ("RoUReject fatal PReject"));
56: }
57: } else
58: watch_dog_reset();
59:
60: }
61:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.