Annotation of 43BSDReno/contrib/isode-beta/doc/practical-osi2/figureB-7.c, revision 1.1

1.1     ! root        1: ...
        !             2: 
        !             3:        case error_MODULE_error1:
        !             4:        {
        !             5:            register struct type_MODULE_parameter *parm =
        !             6:                            (struct type_MODULE_parameter *) parameter;
        !             7: 
        !             8:            /* do something with ``parm'' here... */
        !             9: 
        !            10:            break;
        !            11:        }
        !            12: 
        !            13:        /* other errors are handled here... */
        !            14: 
        !            15:        default:
        !            16:            adios (NULLCP, "unknown error returned (%d)", error);
        !            17:            /* NOTREACHED */
        !            18:     }
        !            19:     
        !            20:     /* ``parameter'' will be automatically free'd when do_error returns */
        !            21: 
        !            22:     return OK;
        !            23: }

unix.superglobalmegacorp.com

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