|
|
1.1 root 1: /* oper_preject.c - deal with preject of an operation */
2:
3: #ifndef lint
4: static char *rcsid = "$Header: /f/osi/quipu/RCS/oper_preject.c,v 7.0 89/11/23 22:17:53 mrose Rel $";
5: #endif
6:
7: /*
8: * $Header: /f/osi/quipu/RCS/oper_preject.c,v 7.0 89/11/23 22:17:53 mrose Rel $
9: *
10: *
11: * $Log: oper_preject.c,v $
12: * Revision 7.0 89/11/23 22:17:53 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: oper_preject(conn, dp)
37: struct connection * conn;
38: struct DSAPpreject * dp;
39: {
40: struct oper_act * on;
41:
42: DLOG(log_dsap, LLOG_TRACE, ("oper_preject"));
43:
44: if (dp->dp_id == -1)
45: {
46: /* No identified operation to reject! */
47: return;
48: }
49:
50: for(on=conn->cn_operlist; on!=NULLOPER; on=on->on_next_conn)
51: if(on->on_id == dp->dp_id)
52: break;
53:
54: if(on == NULLOPER)
55: {
56: LLOG(log_dsap,LLOG_EXCEPTIONS,( "Unlocatable P-REJECT.INDICATION : %d",
57: dp->dp_reason));
58: }
59: else
60: {
61: oper_fail_wakeup(on);
62: }
63: }
64:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.