Annotation of 43BSDReno/contrib/isode-beta/doc/cookbook/figure16.tex, revision 1.1

1.1     ! root        1: \File{figure16.c},{10:46},{Feb 28 1988}
        !             2: \L{\LB{}\Tab{8}{\K{case} OK:}\Tab{32}{\C{}\/* got a result\/error response *\/\CE{}}}
        !             3: \L{\LB{\Proc{switch}}\Tab{8}{    \K{switch} (response) \{}}
        !             4: \L{\LB{}\Tab{16}{\K{case} RY\_RESULT:}\Tab{32}{\C{}\/* got a result *\/\CE{}}}
        !             5: \L{\LB{}\Tab{16}{    \{}}
        !             6: \L{\LB{}\Tab{24}{\K{register} \K{struct} type\_MODULE\_result *res =}}
        !             7: \L{\LB{}\Tab{32}{    (\K{struct} type\_MODULE\_result *) out;}}
        !             8: \L{\LB{}}
        !             9: \L{\LB{\C{}\/* do something with ``res\'\' here... *\/\CE{}}}
        !            10: \L{\LB{}}
        !            11: \L{\LB{}\Tab{24}{free\_MODULE\_result (res);}}
        !            12: \L{\LB{}\Tab{24}{\K{break};}}
        !            13: \L{\LB{}\Tab{16}{    \}}}
        !            14: \L{\LB{}\Tab{8}{}}
        !            15: \L{\LB{}\Tab{16}{\K{case} error\_MODULE\_error1:}}
        !            16: \L{\LB{}\Tab{16}{    \{}}
        !            17: \L{\LB{}\Tab{24}{\K{register} \K{struct} type\_MODULE\_parameter *parm =}}
        !            18: \L{\LB{}\Tab{32}{    (\K{struct} type\_MODULE\_parameter *) out;}}
        !            19: \L{\LB{}}
        !            20: \L{\LB{\C{}\/* do something with ``parm\'\' here... *\/\CE{}}}
        !            21: \L{\LB{}}
        !            22: \L{\LB{}\Tab{24}{free\_MODULE\_parameter (parm);}}
        !            23: \L{\LB{}\Tab{24}{\K{break};}}
        !            24: \L{\LB{}\Tab{16}{    \}}}

unix.superglobalmegacorp.com

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