|
|
1.1 ! root 1: /* rylose.c - ROSY: clean-up after association termination */ ! 2: ! 3: #ifndef lint ! 4: static char *rcsid = "$Header: /f/osi/rosy/RCS/rylose.c,v 6.0 89/03/18 23:42:54 mrose Rel $"; ! 5: #endif ! 6: ! 7: /* ! 8: * $Header: /f/osi/rosy/RCS/rylose.c,v 6.0 89/03/18 23:42:54 mrose Rel $ ! 9: * ! 10: * ! 11: * $Log: rylose.c,v $ ! 12: * Revision 6.0 89/03/18 23:42:54 mrose ! 13: * Release 5.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 <stdio.h> ! 31: #include "rosy.h" ! 32: ! 33: ! 34: #define missingP(p) \ ! 35: { \ ! 36: if (p == NULL) \ ! 37: return rosaplose (roi, ROS_PARAMETER, NULLCP, \ ! 38: "mandatory parameter \"%s\" missing", "p"); \ ! 39: } ! 40: ! 41: /* clean-up after association termination */ ! 42: ! 43: int RyLose (sd, roi) ! 44: int sd; ! 45: struct RoSAPindication *roi; ! 46: { ! 47: missingP (roi); ! 48: ! 49: loseopblk (sd, ROS_DONE); ! 50: losedsblk (sd); ! 51: ! 52: return OK; ! 53: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.