|
|
1.1 ! root 1: /* dsapreject.c - DSAP: Reject a remote operations event */ ! 2: ! 3: #ifndef lint ! 4: static char *rcsid = "$Header: /f/osi/dsap/net/RCS/dsapreject.c,v 7.0 90/07/26 14:45:57 mrose Exp $"; ! 5: #endif ! 6: ! 7: /* ! 8: * $Header: /f/osi/dsap/net/RCS/dsapreject.c,v 7.0 90/07/26 14:45:57 mrose Exp $ ! 9: * ! 10: * ! 11: * $Log: dsapreject.c,v $ ! 12: * Revision 7.0 90/07/26 14:45:57 mrose ! 13: * *** empty log message *** ! 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 "logger.h" ! 31: #include "quipu/util.h" ! 32: #include "quipu/dsap.h" ! 33: ! 34: ! 35: extern LLog * log_dsap; ! 36: ! 37: /* ARGSUSED */ ! 38: ! 39: int DRejectRequest (sd, reason, id) ! 40: int sd; ! 41: int reason; ! 42: int id; ! 43: { ! 44: int result; ! 45: struct RoSAPindication roi_s; ! 46: struct RoSAPindication * roi = &(roi_s); ! 47: ! 48: DLOG (log_dsap,LLOG_TRACE,( "DRejectRequest()")); ! 49: ! 50: result = RoURejectRequest(sd, &id, reason, ROS_NOPRIO, roi); ! 51: ! 52: if (result == NOTOK) ! 53: { ! 54: LLOG (log_dsap, LLOG_EXCEPTIONS,( "DBindReject: RoURejectRequest failed")); ! 55: } ! 56: ! 57: } ! 58:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.