|
|
1.1 root 1: \File{grind2b\-3d.c},{22:23},{Jun 12 1988}
2: \L{\LB{...}}
3: \L{\LB{}}
4: \L{\LB{\K{static} \K{int} ros\_result (sd, ror)}}
5: \L{\LB{\K{int} sd;}}
6: \L{\LB{\K{register} \K{struct} RoSAPresult *ror;}}
7: \L{\LB{\{}}
8: \L{\LB{ \K{struct} RoSAPindication rois;}}
9: \L{\LB{ \K{register} \K{struct} RoSAPindication *roi = \&rois;}}
10: \L{\LB{ \K{register} \K{struct} RoSAPpreject *rop = \&roi \-\> roi\_preject;}}
11: \L{\LB{}}
12: \L{\LB{ \K{if} (RoURejectRequest (sd, \&ror \-\> ror\_id, ROS\_RRP\_UNRECOG, ROS\_NOPRIO, roi)}}
13: \L{\LB{}\Tab{8}{ == NOTOK)}}
14: \L{\LB{}\Tab{8}{error (\S{}\"RO\-U\-REJECT.REQUEST: \%s\"\SE{}, RoErrString (rop \-\> rop\_reason));}}
15: \L{\LB{}}
16: \L{\LB{ RORFREE (ror);}}
17: \L{\LB{\}}}
18: \L{\LB{}}
19: \L{\LB{}}
20: \L{\LB{\K{static} \K{int} ros\_error (sd, roe)}}
21: \L{\LB{\K{int} sd;}}
22: \L{\LB{\K{register} \K{struct} RoSAPerror *roe;}}
23: \L{\LB{\{}}
24: \L{\LB{ \K{struct} RoSAPindication rois;}}
25: \L{\LB{ \K{register} \K{struct} RoSAPindication *roi = \&rois;}}
26: \L{\LB{ \K{register} \K{struct} RoSAPpreject *rop = \&roi \-\> roi\_preject;}}
27: \L{\LB{}}
28: \L{\LB{ \K{if} (RoURejectRequest (sd, \&roe \-\> roe\_id, ROS\_REP\_UNRECOG, ROS\_NOPRIO, roi)}}
29: \L{\LB{}\Tab{8}{ == NOTOK)}}
30: \L{\LB{}\Tab{8}{error (\S{}\"RO\-U\-REJECT.REQUEST: \%s\"\SE{}, RoErrString (rop \-\> rop\_reason));}}
31: \L{\LB{}}
32: \L{\LB{ ROEFREE (roe);}}
33: \L{\LB{\}}}
34: \L{\LB{}}
35: \L{\LB{}}
36: \L{\LB{\K{static} \K{int} ros\_ureject (sd, rou)}}
37: \L{\LB{\K{int} sd;}}
38: \L{\LB{\K{register} \K{struct} RoSAPureject *rou;}}
39: \L{\LB{\{}}
40: \L{\LB{\C{}\/* handle rejection here... *\/\CE{}}}
41: \L{\LB{\}}}
42: \L{\LB{}}
43: \L{\LB{}}
44: \L{\LB{\K{static} \K{int} ros\_preject (sd, rop)}}
45: \L{\LB{\K{int} sd;}}
46: \L{\LB{\K{register} \K{struct} RoSAPpreject *rop;}}
47: \L{\LB{\{}}
48: \L{\LB{ \K{if} (ROS\_FATAL (rop \-\> rop\_reason))}}
49: \L{\LB{}\Tab{8}{error (\S{}\"RO\-REJECT\-P.INDICATION: \%s\"\SE{}, RoErrString (rop \-\> rop\_reason));}}
50: \L{\LB{}}
51: \L{\LB{\C{}\/* handle temporary failure here... *\/\CE{}}}
52: \L{\LB{\}}}
53: \L{\LB{}}
54: \L{\LB{...}}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.