File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / manual / grind2b-3a.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

...

static int ros_indication (sd, roi)
int     sd;
register struct RoSAPindication *roi;
{
    switch (roi -> roi_type) {
	case ROI_INVOKE: 
	    ros_invoke (sd, &roi -> roi_invoke);
	    break;

	case ROI_RESULT: 
	    ros_result (sd, &roi -> roi_result);
	    break;

	case ROI_ERROR: 
	    ros_error (sd, &roi -> roi_error);
	    break;

	case ROI_UREJECT: 
	    ros_ureject (sd, &roi -> roi_ureject);
	    break;

	case ROI_PREJECT: 
	    ros_preject (sd, &roi -> roi_preject);
	    break;

	case ROI_FINISH: 
	    ros_finish (sd, &roi -> roi_finish);
	    break;

	default: 
	    error ("unknown indication type=%d", roi -> roi_type);
    }
}

...

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.