|
|
1.1 ! root 1: /* ronotabort.c - RONOT: bail-out routine which logs abort to rosap log */ ! 2: ! 3: #ifndef lint ! 4: static char *rcsid = "$Header: /f/osi/ronot/RCS/ronotabort.c,v 7.1 90/07/26 14:33:53 mrose Exp $"; ! 5: #endif ! 6: ! 7: /* ! 8: * $Header: /f/osi/ronot/RCS/ronotabort.c,v 7.1 90/07/26 14:33:53 mrose Exp $ ! 9: * ! 10: * ! 11: * $Log: ronotabort.c,v $ ! 12: * Revision 7.1 90/07/26 14:33:53 mrose ! 13: * template ! 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 "tailor.h" ! 31: #include "logger.h" ! 32: #include "rosap.h" ! 33: #include "ronot.h" ! 34: ! 35: /* RO-ABORT.REQUEST */ ! 36: ! 37: /* ARGSUSED */ ! 38: ! 39: int RoBindUAbort (sd, rni) ! 40: int sd; ! 41: struct RoNOTindication * rni; ! 42: { ! 43: int result; ! 44: struct AcSAPindication aci_s; ! 45: struct AcSAPindication * aci = &(aci_s); ! 46: struct AcSAPabort * aca = &(aci->aci_abort); ! 47: ! 48: LLOG (rosap_log, LLOG_EXCEPTIONS, ("RO-ABORT-BIND.REQUEST called on %d", sd)); ! 49: ! 50: result = AcUAbortRequest (sd, NULLPEP, 0, aci); ! 51: ! 52: if (result != OK) ! 53: { ! 54: LLOG (rosap_log, LLOG_EXCEPTIONS, ("RO-ABORT-BIND.REQUEST failed on %d", sd)); ! 55: return (acs2ronotlose (rni, "RO-ABORT-BIND.REQUEST", aca)); ! 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.