File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / cookbook / figure15.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,
	    response;
    struct type_MODULE_argument *arg;
    caddr_t out;
    struct RoSAPindication rois;
    register struct RoSAPindication *roi = &rois;
    register struct RoSAPpreject *rop = &roi -> roi_preject;

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

    switch (result = op_MODULE_operation (sd, arg, &out, &response, roi)) {
	case NOTOK:		/* failure */
	    if (ROS_FATAL (rop -> rop_reason))
		ros_adios (rop, "OPERATION");
	    ros_advise (rop, "OPERATION");
	    break;

unix.superglobalmegacorp.com

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