Annotation of 43BSDReno/contrib/isode-beta/doc/cookbook/figure31.c, revision 1.1

1.1     ! root        1: do_error (sd, id, error, parameter, roi)
        !             2: int    sd;
        !             3: int    id,
        !             4:        error;
        !             5: caddr_t parameter;
        !             6: struct RoSAPindication *roi;
        !             7: {
        !             8:     switch (error) {
        !             9:        case RY_REJECT:
        !            10:        {
        !            11:            int     reason = (int) parameter;
        !            12: 
        !            13:            /* do something with ``reason'' here... */
        !            14: 
        !            15:            break;
        !            16:        }
        !            17:        
        !            18: ...
        !            19: 

unix.superglobalmegacorp.com

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