Annotation of 43BSDReno/contrib/isode-beta/doc/manual/grind2a-2b.tex, revision 1.1.1.1

1.1       root        1: \File{grind2a\-2b.c},{22:23},{Jun 12 1988}
                      2: \L{\LB{...}}
                      3: \L{\LB{}}
                      4: \L{\LB{\K{static} \K{int}  ros\_init (vecp, vec)}}
                      5: \L{\LB{\K{int}}\Tab{8}{vecp;}}
                      6: \L{\LB{\K{char}  **vec;}}
                      7: \L{\LB{\{}}
                      8: \L{\LB{    \K{int}}\Tab{8}{    sd;}}
                      9: \L{\LB{    \K{struct} AcSAPstart   acss;}}
                     10: \L{\LB{    \K{register} \K{struct} AcSAPstart *acs = \&acss;}}
                     11: \L{\LB{    \K{struct} AcSAPindication  acis;}}
                     12: \L{\LB{    \K{register} \K{struct} AcSAPindication *aci = \&acis;}}
                     13: \L{\LB{    \K{register} \K{struct} AcSAPabort   *aca = \&aci \-\> aci\_abort;}}
                     14: \L{\LB{    \K{register} \K{struct} PSAPstart *ps = \&acs \-\> acs\_start;}}
                     15: \L{\LB{    \K{struct} RoSAPindication  rois;}}
                     16: \L{\LB{    \K{register} \K{struct} RoSAPindication *roi = \&rois;}}
                     17: \L{\LB{    \K{register} \K{struct} RoSAPpreject   *rop = \&roi \-\> roi\_preject;}}
                     18: \L{\LB{}}
                     19: \L{\LB{    \K{if} (AcInit (vecp, vec, acs, aci) == NOTOK) \{}}
                     20: \L{\LB{}\Tab{8}{warn (\S{}\"initialization fails: \%s\"\SE{}, AcErrString (aca \-\> aca\_reason));}}
                     21: \L{\LB{}\Tab{8}{\K{return} NOTOK;}}
                     22: \L{\LB{    \}}}
                     23: \L{\LB{}}
                     24: \L{\LB{    sd = acs \-\> acs\_sd;}}
                     25: \L{\LB{    ACSFREE (acs);}}
                     26: \L{\LB{    }}
                     27: \L{\LB{\C{}\/* read command line arguments here... *\/\CE{}}}
                     28: \L{\LB{}}
                     29: \L{\LB{    \K{if} (AcAssocResponse (sd, ACS\_ACCEPT, ACS\_USER\_NULL, NULLOID, NULLAEI,}}
                     30: \L{\LB{}\Tab{16}{\&ps \-\> ps\_called, NULLPC, ps \-\> ps\_defctxresult,}}
                     31: \L{\LB{}\Tab{16}{ps \-\> ps\_prequirements, ps \-\> ps\_srequirements,}}
                     32: \L{\LB{}\Tab{16}{SERIAL\_NONE, ps \-\> ps\_settings, \&ps \-\> ps\_connect,}}
                     33: \L{\LB{}\Tab{16}{NULLPEP, 0, aci) == NOTOK) \{}}
                     34: \L{\LB{}\Tab{8}{warn (\S{}\"A\-ASSOCIATE.RESPONSE: \%s\"\SE{}, AcErrString (aca \-\> aca\_reason));}}
                     35: \L{\LB{}\Tab{8}{\K{return} NOTOK;}}
                     36: \L{\LB{    \}}}
                     37: \L{\LB{}}
                     38: \L{\LB{    \K{if} (RoSetService (sd, RoPService, roi) == NOTOK)}}
                     39: \L{\LB{}\Tab{8}{fatal (\S{}\"RoSetService: \%s\"\SE{}, RoErrString (rop \-\> rop\_reason));}}
                     40: \L{\LB{}}
                     41: \L{\LB{    \K{return} sd;}}
                     42: \L{\LB{\}}}
                     43: \L{\LB{}}
                     44: \L{\LB{...}}

unix.superglobalmegacorp.com

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