|
|
BSD 4.3reno
\File{grind2a\-1.c},{22:23},{Jun 12 1988}
\L{\LB{\K{\#include} \<isode\/acsap.h\>}}
\L{\LB{}}
\L{\LB{...}}
\L{\LB{}}
\L{\LB{\K{register} \K{struct} PSAPaddr *pa;}}
\L{\LB{\K{register} AEI aei;}}
\L{\LB{}}
\L{\LB{...}}
\L{\LB{}}
\L{\LB{\C{}\/* RemoteHost is the host we\'re interested in,}}
\L{\LB{ e.g., ``gremlin.nrtc.northrop.com\'\' *\/\CE{}}}
\L{\LB{}}
\L{\LB{\Proc{if}\K{if} ((aei = str2aei (RemoteHost, \S{}\"filestore\"\SE{})) == NULLAEI)}}
\L{\LB{ error (\S{}\"\%s\-filestore: unknown application\-entity\"\SE{}, RemoteHost);}}
\L{\LB{\Proc{if}\K{if} ((pa = aei2addr (aei)) == NULLPA)}}
\L{\LB{ error (\S{}\"address translation failed\"\SE{});}}
\L{\LB{}}
\L{\LB{...}}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.