Added upstream from http://ftp.icm.edu.pl/pub/loglan/
[loglan.git] / sources / new-s5r4 / intproto.h
1 #ifndef NO_PROTOTYPES
2
3 unsigned alarm( unsigned );
4 double prandom( void );
5
6 void openrc(word,virtaddr *,word *);
7 void raise_signal(word,word,word *,word *);
8 void openobj(word,word *,word *);
9 void slopen(word,virtaddr *,word *,word *);
10 void errsignal(int);
11 void typep(word,word,word *,word *);
12 void copy(virtaddr *,virtaddr *);
13 void qua(virtaddr *,word);
14 void standard(word);
15 void disp(virtaddr *);
16 void gkill(virtaddr *);
17 void typref(virtaddr *,word);
18 void go(word,word);
19 void goloc(word,word);
20 void typed(word,word,word,word,virtaddr *);
21 void term(void);
22 void wind(void);
23 void trace(word);
24 void inner(word);
25 void backhd(virtaddr *,word *);
26 void backbl(virtaddr *,word *);
27 void backpr(virtaddr *,word *);
28 void back(virtaddr *,word *,word);
29 void detach(void);
30 void attach(virtaddr *);
31 void fin(word,virtaddr *,word *);
32 void heads(virtaddr *,word);
33 void resume(virtaddr *);
34 void passivate(int);
35 void enable(word,word);
36 void evaluaterpc(word);
37 void disable(word,word);
38 void rpc_accept(word);
39 void rpc3(void);
40 void popmask(word);
41 void askprot(virtaddr *);
42 bool member(virtaddr *,word *);
43 word virtprot(word);
44 word loadt(word,word);
45 bool is(virtaddr *,word);
46 bool inl(virtaddr *,word);
47 word shift(word,word);
48 void execute(void);
49 void abend(char *);
50 void addext(char *,char *);
51 void usage( void );
52 void decode( void );
53 void init_scheduler( void );
54 void runsys( void );
55 void schedule( void );
56 void msginterrupt( message * );
57 void loosen( void );
58 void update( word, word );
59 void compactify( void );
60 void moveparams(word, word, message *, int, int);
61 void sendmsg1(message *);
62 word getnode(word);
63 void endprocess(int);
64 word entier(double);
65 char *asciiz( virtaddr * );
66 void ranset(void);
67 void moveblock( char *,char *, word );
68 void request( word, word *, word *);
69 word memavail( void );
70 void newarry( word, word, word, virtaddr *, word *);
71 void initprocess( word,word,procaddr *);
72 void activate( word );
73 void reset( word );
74 void pushmask( word );
75 void trapmsg( void );
76 void rpc2( void );
77 void endrun( int );
78 void loadfile(word,word *,word *,FILE **);
79 word directio(virtaddr *,word,int (*)(),FILE *);
80 void nonstandard( word );
81 void genfileobj(bool,word,char *,virtaddr *,word *);
82 void rewrite( word );
83 void delete( virtaddr * );
84 bool testeof( FILE * );
85 bool testeoln( FILE * );
86 char *tempfilename( void );
87 word readint( FILE * );
88 double readreal( FILE * );
89 void writeint( word, word, FILE * );
90 void writereal( double, word, word, FILE * );
91 void writestring( word, word, FILE * );
92 void readln( FILE * );
93 void senderr( int, procaddr * );
94 void rpcend( message * );
95 void rpc1( message * );
96
97 #else
98
99 unsigned alarm();
100 int unlink();
101 int ioctl();
102
103 void openrc();
104 void raise_signal();
105 void openobj();
106 void slopen();
107 void errsignal();
108 void typep();
109 void copy();
110 void qua();
111 void standard();
112 void disp();
113 void gkill();
114 void typref();
115 void go();
116 void goloc();
117 void typed();
118 void term();
119 void wind();
120 void trace();
121 void inner();
122 void backhd();
123 void backbl();
124 void backpr();
125 void back();
126 void detach();
127 void attach();
128 void fin();
129 void heads();
130 void resume();
131 void passivate();
132 void enable();
133 void evaluaterpc();
134 void disable();
135 void rpc_accept();
136 void rpc3();
137 void popmask();
138 void askprot();
139 bool member();
140 word virtprot();
141 word loadt();
142 bool is();
143 bool inl();
144 word shift();
145 void execute();
146 void abend();
147 void addext();
148 void usage();
149 void decode();
150 void init_scheduler();
151 void runsys();
152 void schedule();
153 void msginterrupt();
154 void loosen();
155 void update();
156 void compactify();
157 void moveparams();
158 void sendmsg();
159 word getnode();
160 void endprocess();
161 word entier();
162 char *asciiz();
163 void ranset();
164 double prandom();
165 void moveblock();
166 void request();
167 word memavail();
168 void newarry();
169 void initprocess();
170 void activate();
171 void pushmask();
172 void trapmsg();
173 void rpc2();
174 void endrun();
175 void loadfile();
176 word directio();
177 void nonstandard();
178 void genfileobj();
179 void reset();
180 void rewrite();
181 void delete();
182 bool testeof();
183 bool testeoln();
184 char *tempfilename();
185 word readint();
186 double readreal();
187 void writeint();
188 void writereal();
189 void writestring();
190 void readln();
191 void senderr();
192 void rpcend();
193 void rpc1();
194
195 #endif
196