File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / cookbook / figure21.c
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

...

    int	    result;
    struct type_MODULE_argument *arg;
    struct RoSAPindication rois;
    register struct RoSAPindication *roi = &rois;
    register struct RoSAPpreject *rop = &roi -> roi_preject;

    /* allocate and initialize ``arg'' here... */

    switch (result = stub_MODULE_operation (sd, RyGenID (sd), arg, do_result,
					    do_error, ROS_SYNC, roi)) {
	case NOTOK:		/* local failure */
	    if (ROS_FATAL (rop -> rop_reason))
		ros_adios (rop, "STUB");
	    ros_advise (rop, "STUB");
	    break;

	case OK:
	    break;

...

unix.superglobalmegacorp.com

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