File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / practical-osi1 / figureA-60.tex
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

\File{figureA\-60.c},{20:14},{Jun 19 1989}
\L{\LB{...}}
\L{\LB{}}
\L{\LB{    \K{int}}\Tab{8}{    result,}}
\L{\LB{}\Tab{8}{    response;}}
\L{\LB{    \K{struct} type\_MODULE\_argument *arg;}}
\L{\LB{    caddr\_t out;}}
\L{\LB{    \K{struct} RoSAPindication rois;}}
\L{\LB{    \K{register} \K{struct} RoSAPindication *roi = \&rois;}}
\L{\LB{    \K{register} \K{struct} RoSAPpreject *rop = \&roi \-\> roi\_preject;}}
\L{\LB{}}
\L{\LB{    \C{}\/* allocate and initialize ``arg\'\' here... *\/\CE{}}}
\L{\LB{}}
\L{\LB{\Proc{switch}    \K{switch} (result = op\_MODULE\_operation (sd, arg, \&out, \&response, roi)) \{}}
\L{\LB{}\Tab{8}{\K{case} NOTOK:}\Tab{32}{\C{}\/* failure *\/\CE{}}}
\L{\LB{}\Tab{8}{    \K{if} (ROS\_FATAL (rop \-\> rop\_reason))}}
\L{\LB{}\Tab{16}{ros\_adios (rop, \S{}\"OPERATION\"\SE{});}}
\L{\LB{}\Tab{8}{    ros\_advise (rop, \S{}\"OPERATION\"\SE{});}}
\L{\LB{}\Tab{8}{    \K{break};}}

unix.superglobalmegacorp.com

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