|
|
1.1 ! root 1: /* dsapabort.c - DSAP: Lose the binding identified by the descriptor */ ! 2: ! 3: #ifndef lint ! 4: static char *rcsid = "$Header: /f/osi/dsap/net/RCS/dsapabort.c,v 7.0 90/07/26 14:45:36 mrose Exp $"; ! 5: #endif ! 6: ! 7: /* ! 8: * $Header: /f/osi/dsap/net/RCS/dsapabort.c,v 7.0 90/07/26 14:45:36 mrose Exp $ ! 9: * ! 10: * ! 11: * $Log: dsapabort.c,v $ ! 12: * Revision 7.0 90/07/26 14:45:36 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/dsap.h" ! 32: ! 33: extern LLog * log_dsap; ! 34: ! 35: /* RO-ABORT.REQUEST */ ! 36: ! 37: /* ARGSUSED */ ! 38: ! 39: ! 40: int DUAbortRequest (sd, di) ! 41: int sd; ! 42: struct DSAPindication * di; ! 43: { ! 44: int result; ! 45: struct RoNOTindication rni_s; ! 46: struct RoNOTindication * rni = &(rni_s); ! 47: ! 48: LLOG (log_dsap, LLOG_EXCEPTIONS, ("RO-ABORT-BIND.REQUEST called on %d", sd)); ! 49: ! 50: result = RoBindUAbort (sd, rni); ! 51: ! 52: if (result != OK) ! 53: { ! 54: LLOG (log_dsap, LLOG_EXCEPTIONS, ("D-ABORT-BIND.REQUEST failed on %d", sd)); ! 55: return (ronot2dsaplose (di, "D-ABORT-BIND.REQUEST", rni)); ! 56: } ! 57: ! 58: return (OK); ! 59: } ! 60:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.