Annotation of 43BSDReno/contrib/isode-beta/doc/cookbook/figure33.tex, revision 1.1.1.1

1.1       root        1: \File{figure33.c},{13:12},{Feb 28 1988}
                      2: \L{\LB{...}}
                      3: \L{\LB{}}
                      4: \L{\LB{}\Tab{8}{\K{case} error\_MODULE\_error1:}}
                      5: \L{\LB{}\Tab{8}{\{}}
                      6: \L{\LB{}\Tab{8}{    \K{register} \K{struct} type\_MODULE\_parameter *parm =}}
                      7: \L{\LB{}\Tab{24}{    (\K{struct} type\_MODULE\_parameter *) parameter;}}
                      8: \L{\LB{}}
                      9: \L{\LB{}\Tab{8}{    \C{}\/* do something with ``parm\'\' here... *\/\CE{}}}
                     10: \L{\LB{}}
                     11: \L{\LB{}\Tab{8}{    \K{break};}}
                     12: \L{\LB{}\Tab{8}{\}}}
                     13: \L{\LB{}}
                     14: \L{\LB{}\Tab{8}{\C{}\/* other errors are handled here... *\/\CE{}}}
                     15: \L{\LB{}}
                     16: \L{\LB{}\Tab{8}{\K{default}:}}
                     17: \L{\LB{}\Tab{8}{    adios (NULLCP, \S{}\"unknown error returned (\%d)\"\SE{}, error);}}
                     18: \L{\LB{}\Tab{8}{    \C{}\/* NOTREACHED *\/\CE{}}}
                     19: \L{\LB{    \}}}
                     20: \L{\LB{    }}
                     21: \L{\LB{    \C{}\/* ``parameter\'\' will be automatically free\'d when do\_error returns *\/\CE{}}}
                     22: \L{\LB{}}
                     23: \L{\LB{    \K{return} OK;}}
                     24: \L{\LB{\}}}

unix.superglobalmegacorp.com

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