source: trunk/minix/commands/elle/eeproto.h@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 15.7 KB
Line 
1#ifndef _ANSI
2#include <ansi.h>
3#endif
4
5/* eebit.c */
6_PROTOTYPE( int *chballoc, (int size) );
7_PROTOTYPE( int chbit, (int *array, int c) );
8_PROTOTYPE( int chbis, (int *array, int c) );
9_PROTOTYPE( int chbic, (int *array, int c) );
10
11/* eebuff.c */
12_PROTOTYPE( int f_selbuffer, (void) );
13_PROTOTYPE( int f_selxbuffer, (void) );
14_PROTOTYPE( int f_kbuffer, (void) );
15_PROTOTYPE( int f_listbufs, (void) );
16_PROTOTYPE( int f_bufnotmod, (void) );
17_PROTOTYPE( int f_eolmode, (void) );
18_PROTOTYPE( int f_gobeg, (void) );
19_PROTOTYPE( int f_goend, (void) );
20_PROTOTYPE( int f_whatpage, (void) );
21_PROTOTYPE( int init_buf, (void) );
22_PROTOTYPE( struct buffer *make_buf, (char *bname) );
23_PROTOTYPE( struct buffer *find_buf, (char *name) );
24_PROTOTYPE( int sel_buf, (struct buffer *b) );
25_PROTOTYPE( int chg_buf, (struct buffer *newbuf) );
26_PROTOTYPE( int unlk_buf, (struct buffer *bufp) );
27_PROTOTYPE( struct buffer *sel_mbuf, (struct buffer *buf) );
28_PROTOTYPE( struct buffer *sel_mbuf, (struct buffer *buf) );
29_PROTOTYPE( struct buffer *sel_nbuf, (struct buffer *buf) );
30_PROTOTYPE( int kill_buf, (struct buffer *buf) );
31_PROTOTYPE( int zap_buffer, (void) );
32_PROTOTYPE( int ask_kbuf, (struct buffer *buf) );
33_PROTOTYPE( int f_2winds, (void) );
34_PROTOTYPE( int f_1wind, (void) );
35_PROTOTYPE( int f_othwind, (void) );
36_PROTOTYPE( int f_growind, (void) );
37_PROTOTYPE( int f_shrinkwind, (void) );
38_PROTOTYPE( int f_delwind, (void) );
39_PROTOTYPE( int f_sowind, (void) );
40_PROTOTYPE( int f_2modewinds, (void) );
41_PROTOTYPE( int chk2modws, (void) );
42_PROTOTYPE( int init_win, (void) );
43_PROTOTYPE( int chg_win, (struct window *newwin) );
44_PROTOTYPE( struct window *make_win, (int pos, int ht, struct buffer *buf) );
45_PROTOTYPE( int kill_win, (struct window *win) );
46_PROTOTYPE( int mk_showin, (struct buffer *b) );
47_PROTOTYPE( struct window *make_mode, (struct window *bw) );
48_PROTOTYPE( int buf_mod, (void) );
49_PROTOTYPE( int buf_tmat, (chroff dot) );
50_PROTOTYPE( int buf_tmod, (chroff offset) );
51
52/* eecmds.c */
53_PROTOTYPE( int f_pfxmeta, (void) );
54_PROTOTYPE( int f_pfxext, (void) );
55_PROTOTYPE( int f_uarg, (int ch) );
56_PROTOTYPE( int f_negarg, (int ch) );
57_PROTOTYPE( int f_argdig, (int ch) );
58_PROTOTYPE( int f_setprof, (void) );
59_PROTOTYPE( int f_vtbuttons, (void) );
60_PROTOTYPE( int cmd_wait, (void) );
61_PROTOTYPE( int cmd_read, (void) );
62_PROTOTYPE( int cmd_xct, (int ch) );
63_PROTOTYPE( int cmd_idx, (int c) );
64_PROTOTYPE( int set_profile, (char *filename) );
65_PROTOTYPE( int init_menu, (void) );
66
67/* eediag.c */
68_PROTOTYPE( int f_debug, (int ch) );
69_PROTOTYPE( char *vfy_data, (int flag) );
70_PROTOTYPE( int dbg_diag, (void) );
71_PROTOTYPE( int vfy_exer, (int pf, int gcfrq) );
72_PROTOTYPE( int db_prwind, (struct window *w) );
73_PROTOTYPE( char *db_scflgs, (int flags) );
74
75/* eedisp.c */
76_PROTOTYPE( int set_tty, (void) );
77_PROTOTYPE( int clean_exit, (void) );
78_PROTOTYPE( int set_scr, (void) );
79_PROTOTYPE( int redisplay, (void) );
80_PROTOTYPE( int fupd_wind, (struct window *w) );
81_PROTOTYPE( int upd_curs, (chroff adot) );
82_PROTOTYPE( int d_line, (chroff cdot) );
83_PROTOTYPE( int d_ncols, (int lcnt, int ccol) );
84_PROTOTYPE( int d_lupd, (struct window *w, int idx) );
85_PROTOTYPE( int clear_wind, (struct window *w) );
86_PROTOTYPE( int fix_wind, (struct window *win) );
87_PROTOTYPE( int inwinp, (struct window *win, chroff cdot) );
88_PROTOTYPE( int upd_wind, (struct window *win) );
89_PROTOTYPE( int slineq, (struct scr_line *olds, struct scr_line *news) );
90_PROTOTYPE( int upd_line, (int y) );
91_PROTOTYPE( int fillset, (char *str, int cnt, int c) );
92_PROTOTYPE( int fillsp, (char *str, int cnt) );
93_PROTOTYPE( int inspc, (char *cp0, char *cpl, int cnt) );
94_PROTOTYPE( int fix_line, (struct scr_line *slp, struct scr_line *olds) );
95_PROTOTYPE( int sctrin, (char *to, int lim, int ccol) );
96_PROTOTYPE( int inslin, (int line, int n, struct window *win) );
97_PROTOTYPE( int dellin, (int line, int n, struct window *win) );
98_PROTOTYPE( int t_dostandout, (int on) );
99_PROTOTYPE( int t_move, (int y, int x) );
100_PROTOTYPE( int t_docleol, (void) );
101
102/* eeedit.c */
103_PROTOTYPE( int e_reset, (void) );
104_PROTOTYPE( int e_rgetc, (void) );
105_PROTOTYPE( int e_rdelc, (void) );
106_PROTOTYPE( int e_delc, (void) );
107_PROTOTYPE( int e_getc, (void) );
108_PROTOTYPE( int e_backc, (void) );
109_PROTOTYPE( int e_putc, (int c) );
110_PROTOTYPE( int e_peekc, (void) );
111_PROTOTYPE( int e_ovwc, (int ch) );
112_PROTOTYPE( SBSTR *e_copyn, (chroff off) );
113_PROTOTYPE( int e_deln, (chroff off) );
114_PROTOTYPE( int e_setcur, (void) );
115_PROTOTYPE( int e_gosetcur, (chroff dot) );
116_PROTOTYPE( int e_gocur, (void) );
117_PROTOTYPE( int e_gobob, (void) );
118_PROTOTYPE( int e_goeob, (void) );
119_PROTOTYPE( int e_go, (chroff dot) );
120_PROTOTYPE( int e_igoff, (int ioff) );
121_PROTOTYPE( int e_goff, (chroff off) );
122_PROTOTYPE( int e_gobol, (void) );
123_PROTOTYPE( int e_goeol, (void) );
124_PROTOTYPE( int e_gonl, (void) );
125_PROTOTYPE( int e_gopl, (void) );
126_PROTOTYPE( chroff e_dot, (void) );
127_PROTOTYPE( chroff e_nldot, (void) );
128_PROTOTYPE( chroff e_pldot, (void) );
129_PROTOTYPE( chroff e_boldot, (void) );
130_PROTOTYPE( chroff e_eoldot, (void) );
131_PROTOTYPE( chroff e_alldot, (SBBUF *sbp, int (*rtn )()) );
132_PROTOTYPE( chroff e_blen, (void) );
133_PROTOTYPE( int ex_reset, (struct buffer *b) );
134_PROTOTYPE( int ex_go, (SBBUF *sbp, chroff loc) );
135_PROTOTYPE( chroff ex_dot, (SBBUF *sbp) );
136_PROTOTYPE( chroff ex_boldot, (SBBUF *sbp, chroff dot) );
137_PROTOTYPE( chroff ex_alldot, (SBBUF *sbp, int (*rtn )(), chroff dot) );
138_PROTOTYPE( int ex_gonl, (SBBUF *sbp) );
139_PROTOTYPE( int ex_goeol, (SBBUF *sbp) );
140_PROTOTYPE( int ex_gobol, (SBBUF *sbp) );
141_PROTOTYPE( int ex_gopl, (SBBUF *sbp) );
142_PROTOTYPE( chroff ex_blen, (SBBUF *sbp) );
143_PROTOTYPE( int e_gofwsp, (void) );
144_PROTOTYPE( int e_gobwsp, (void) );
145_PROTOTYPE( int e_goline, (int i) );
146_PROTOTYPE( int e_lblankp, (void) );
147_PROTOTYPE( int e_insn, (int ch, int cnt) );
148_PROTOTYPE( int e_sputz, (char *acp) );
149_PROTOTYPE( int boleq, (chroff dot1, chroff dot2) );
150_PROTOTYPE( char *dottoa, (char *str, chroff val) );
151_PROTOTYPE( int e_gobpa, (void) );
152_PROTOTYPE( int e_goepa, (void) );
153_PROTOTYPE( int exp_do, (int (*rpos )(), int (*rneg )()) );
154_PROTOTYPE( int e_fwsp, (void) );
155_PROTOTYPE( int e_bwsp, (void) );
156_PROTOTYPE( int c_wsp, (int ch) );
157_PROTOTYPE( int c_pwsp, (int ch) );
158_PROTOTYPE( int delimp, (int c) );
159_PROTOTYPE( int e_wding, (chroff *adot, int n) );
160_PROTOTYPE( chroff e_wdot, (chroff dot, int n) );
161_PROTOTYPE( int e_gowd, (int n) );
162_PROTOTYPE( int e_search, (char *mstr, int mlen, int backwards) );
163
164/* eeerr.c */
165_PROTOTYPE( int f_bkpt, (void) );
166_PROTOTYPE( int bpt, (void) );
167_PROTOTYPE( char *strerror, (int num) );
168_PROTOTYPE( int errsbm, (int type, int (*adr )(), char *str, int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12) );
169_PROTOTYPE( int bite_bag, (int fault) );
170_PROTOTYPE( int hup_exit, (void) );
171_PROTOTYPE( int errint, (void) );
172_PROTOTYPE( int askerr, (void) );
173_PROTOTYPE( char *asklin, (char *acp) );
174
175/* eef1.c */
176_PROTOTYPE( int f_insself, (int c) );
177_PROTOTYPE( int f_quotins, (void) );
178_PROTOTYPE( int f_crlf, (void) );
179_PROTOTYPE( int f_fchar, (void) );
180_PROTOTYPE( int f_bchar, (void) );
181_PROTOTYPE( int f_dchar, (void) );
182_PROTOTYPE( int f_bdchar, (void) );
183_PROTOTYPE( int ef_deln, (int x) );
184_PROTOTYPE( int f_delspc, (void) );
185_PROTOTYPE( int f_tchars, (void) );
186_PROTOTYPE( int f_fword, (void) );
187_PROTOTYPE( int f_bword, (void) );
188_PROTOTYPE( int f_kword, (void) );
189_PROTOTYPE( int f_bkword, (void) );
190_PROTOTYPE( int f_twords, (void) );
191_PROTOTYPE( int f_ucword, (void) );
192_PROTOTYPE( int f_lcword, (void) );
193_PROTOTYPE( int f_uciword, (void) );
194_PROTOTYPE( int case_word, (int downp) );
195
196/* eef2.c */
197_PROTOTYPE( int f_begline, (void) );
198_PROTOTYPE( int f_endline, (void) );
199_PROTOTYPE( int f_nxtline, (void) );
200_PROTOTYPE( int f_prvline, (void) );
201_PROTOTYPE( int f_dnrline, (void) );
202_PROTOTYPE( int f_uprline, (void) );
203_PROTOTYPE( int f_oline, (void) );
204_PROTOTYPE( int f_delblines, (void) );
205_PROTOTYPE( int f_kline, (void) );
206_PROTOTYPE( int f_bkline, (void) );
207_PROTOTYPE( int f_goline, (void) );
208_PROTOTYPE( int down_bline, (int arg) );
209_PROTOTYPE( int down_line, (int x) );
210_PROTOTYPE( int f_setmark, (void) );
211_PROTOTYPE( int f_exchmark, (void) );
212_PROTOTYPE( int f_kregion, (void) );
213_PROTOTYPE( int f_copreg, (void) );
214_PROTOTYPE( int f_ucreg, (void) );
215_PROTOTYPE( int f_lcreg, (void) );
216_PROTOTYPE( int ef_creg, (int downp) );
217_PROTOTYPE( int f_fillreg, (void) );
218_PROTOTYPE( int chkmark, (void) );
219_PROTOTYPE( int f_fpara, (void) );
220_PROTOTYPE( int f_bpara, (void) );
221_PROTOTYPE( int f_mrkpara, (void) );
222_PROTOTYPE( int f_fillpara, (void) );
223
224/* eef3.c */
225_PROTOTYPE( int f_appnkill, (void) );
226_PROTOTYPE( int f_unkill, (void) );
227_PROTOTYPE( int f_unkpop, (void) );
228_PROTOTYPE( int f_indatm, (void) );
229_PROTOTYPE( int f_indnl, (void) );
230_PROTOTYPE( int f_backind, (void) );
231_PROTOTYPE( int f_indcomm, (void) );
232_PROTOTYPE( int f_indrel, (void) );
233_PROTOTYPE( int insertmatch, (int c) );
234_PROTOTYPE( int f_matchbrack, (void) );
235_PROTOTYPE( int matchonelevel, (int mc) );
236
237/* eefd.c */
238_PROTOTYPE( int f_newwin, (void) );
239_PROTOTYPE( int f_nscreen, (void) );
240_PROTOTYPE( int f_pscreen, (void) );
241_PROTOTYPE( int f_othnscreen, (void) );
242_PROTOTYPE( int f_lwindbord, (void) );
243_PROTOTYPE( int f_scupwind, (void) );
244_PROTOTYPE( int f_scdnwind, (void) );
245_PROTOTYPE( int f_mvwtop, (void) );
246_PROTOTYPE( int f_mvwbot, (void) );
247_PROTOTYPE( int d_screen, (int rep) );
248_PROTOTYPE( int scroll_win, (int n) );
249_PROTOTYPE( int d_curind, (void) );
250_PROTOTYPE( int indtion, (chroff lin) );
251_PROTOTYPE( int inindex, (chroff lin, int xpos) );
252_PROTOTYPE( int d_gopl, (void) );
253_PROTOTYPE( int d_gonl, (void) );
254_PROTOTYPE( int d_goloff, (int cnt) );
255_PROTOTYPE( int d_fgoloff, (int cnt) );
256_PROTOTYPE( int d_fixcur, (void) );
257_PROTOTYPE( int d_backup, (int nlin) );
258
259/* eefed.c */
260_PROTOTYPE( int ed_insert, (int c) );
261_PROTOTYPE( int ed_insn, (int ch, int cnt) );
262_PROTOTYPE( int ed_crins, (void) );
263_PROTOTYPE( int ed_sins, (char *s) );
264_PROTOTYPE( int ed_nsins, (char *s, int i) );
265_PROTOTYPE( int ed_indto, (int goal) );
266_PROTOTYPE( int ed_setcur, (void) );
267_PROTOTYPE( int ed_go, (chroff dot) );
268_PROTOTYPE( int ed_goff, (chroff off) );
269_PROTOTYPE( int ed_igoff, (int ioff) );
270_PROTOTYPE( int ed_reset, (void) );
271_PROTOTYPE( int ed_deln, (chroff off) );
272_PROTOTYPE( int ed_delete, (chroff dot1, chroff dot2) );
273_PROTOTYPE( int ed_kill, (chroff dot1, chroff dot2) );
274_PROTOTYPE( int kill_push, (SBSTR *sdp) );
275_PROTOTYPE( int ed_case, (chroff dot1, chroff dot2, int downp) );
276_PROTOTYPE( int upcase, (int ch) );
277
278/* eefile.c */
279_PROTOTYPE( int f_ffile, (void) );
280_PROTOTYPE( int f_rfile, (void) );
281_PROTOTYPE( int f_vfile, (void) );
282_PROTOTYPE( int u_r_file, (char *prompt) );
283_PROTOTYPE( int f_ifile, (void) );
284_PROTOTYPE( int f_sfile, (void) );
285_PROTOTYPE( int f_savefiles, (void) );
286_PROTOTYPE( int f_wfile, (void) );
287_PROTOTYPE( int f_wreg, (void) );
288_PROTOTYPE( int f_wlastkill, (void) );
289_PROTOTYPE( int hack_file, (char *prompt, int (*rtn )()) );
290_PROTOTYPE( int find_file, (char *f_name) );
291_PROTOTYPE( int read_file, (char *f_name) );
292_PROTOTYPE( int ins_file, (char *f_name) );
293_PROTOTYPE( int ferr_ropn, (void) );
294_PROTOTYPE( int ferr_wopn, (void) );
295_PROTOTYPE( int ferr, (char *str) );
296_PROTOTYPE( char *fncons, (char *dest, char *pre, char *f_name, char *post) );
297_PROTOTYPE( char *last_fname, (char *f_name) );
298_PROTOTYPE( int set_fn, (char *string) );
299_PROTOTYPE( int saveworld, (struct buffer *bp, int grunt) );
300_PROTOTYPE( int hoard, (void) );
301_PROTOTYPE( int unhoard, (void) );
302_PROTOTYPE( int expand_file, (char *dfn, char *sfn) );
303
304/* eefill.c */
305_PROTOTYPE( int f_sfcol, (void) );
306_PROTOTYPE( int f_sfpref, (void) );
307_PROTOTYPE( int tstfillp, (int lim) );
308_PROTOTYPE( int ed_fill, (chroff begloc, chroff endloc, int flag) );
309_PROTOTYPE( int f_fillmode, (void) );
310_PROTOTYPE( int fx_insfill, (int c) );
311_PROTOTYPE( int fill_cur_line, (void) );
312_PROTOTYPE( int f_textmode, (void) );
313_PROTOTYPE( int fim_insself, (int c) );
314_PROTOTYPE( int fim_dchar, (void) );
315_PROTOTYPE( int fim_bdchar, (void) );
316_PROTOTYPE( int fim_crlf, (void) );
317_PROTOTYPE( int magic_wrap, (int tc) );
318_PROTOTYPE( int reveal, (char *msg, int v1, int v2, int v3) );
319_PROTOTYPE( int magic_backto_bol, (void) );
320_PROTOTYPE( int fill_current_line, (void) );
321
322/* eehelp.c */
323_PROTOTYPE( int f_describe, (void) );
324
325/* eekmac.c */
326_PROTOTYPE( int f_skmac, (void) );
327_PROTOTYPE( int f_ekmac, (void) );
328_PROTOTYPE( int f_xkmac, (void) );
329_PROTOTYPE( int f_vkmac, (void) );
330_PROTOTYPE( int km_getc, (void) );
331_PROTOTYPE( int km_inwait, (void) );
332_PROTOTYPE( int km_abort, (void) );
333_PROTOTYPE( int add_mode, (char *mode) );
334_PROTOTYPE( int remove_mode, (char *mode) );
335
336/* eemain.c */
337_PROTOTYPE( int doargs, (int argc, char **argv) );
338_PROTOTYPE( int initialize, (void) );
339_PROTOTYPE( int f_throw, (void) );
340_PROTOTYPE( int ring_bell, (void) );
341_PROTOTYPE( int f_retsup, (void) );
342_PROTOTYPE( int f_wfexit, (void) );
343_PROTOTYPE( int f_pshinf, (void) );
344_PROTOTYPE( char *strdup, (char *s) );
345_PROTOTYPE( char *memalloc, (SBMO size) );
346_PROTOTYPE( int chkfree, (SBMA ptr) );
347_PROTOTYPE( int ustrcmp, (char *str1, char *str2) );
348_PROTOTYPE( int writerr, (char *str) );
349_PROTOTYPE( int writez, (int fd, char *acp) );
350
351/* eemake.c */
352_PROTOTYPE( int f_xucmd, (void) );
353_PROTOTYPE( int f_make, (void) );
354_PROTOTYPE( int f_nxterr, (void) );
355_PROTOTYPE( int f_xucmd, (void) );
356_PROTOTYPE( int f_make, (void) );
357_PROTOTYPE( int f_nxterr, (void) );
358_PROTOTYPE( int do_exec, (char *cmd, int nicely) );
359_PROTOTYPE( int make_or_unix_cmd, (int domake) );
360_PROTOTYPE( int sel_execbuf, (void) );
361_PROTOTYPE( int popto_buf, (struct buffer *b) );
362
363/* eequer.c */
364_PROTOTYPE( int f_querep, (void) );
365_PROTOTYPE( int f_repstr, (void) );
366_PROTOTYPE( int f_repline, (void) );
367_PROTOTYPE( int ed_dorep, (int type, struct majmode *mode) );
368
369/* eeques.c */
370#if 0
371_PROTOTYPE( char *ask, (char *string, char *arg1, char *arg2, char *arg3) );
372#else
373char *ask();
374#endif
375_PROTOTYPE( int askclr, (void) );
376_PROTOTYPE( int say, (char *str) );
377_PROTOTYPE( int saynow, (char *str) );
378_PROTOTYPE( int saytoo, (char *str) );
379_PROTOTYPE( int sayntoo, (char *str) );
380_PROTOTYPE( int ding, (char *str) );
381_PROTOTYPE( int dingtoo, (char *str) );
382_PROTOTYPE( int saylntoo, (char *str, int n) );
383_PROTOTYPE( int sayclr, (void) );
384#if 0
385_PROTOTYPE( int sayall, (char *str, int flags, int len) );
386#else
387int sayall();
388#endif
389_PROTOTYPE( int yellat, (char *str, int line) );
390_PROTOTYPE( int yelltoo, (char *str) );
391_PROTOTYPE( int errbarf, (char *str) );
392_PROTOTYPE( int barf, (char *str) );
393_PROTOTYPE( int barf2, (char *str) );
394
395/* eesite.c */
396_PROTOTYPE( int ts_inp, (void) );
397_PROTOTYPE( int ts_init, (void) );
398_PROTOTYPE( int ts_enter, (void) );
399_PROTOTYPE( int ts_exit, (void) );
400_PROTOTYPE( int tpoke, (int cmd, int bn, int val) );
401_PROTOTYPE( int ts_pause, (void) );
402
403/* eesrch.c */
404_PROTOTYPE( int f_srch, (void) );
405_PROTOTYPE( int f_rsrch, (void) );
406_PROTOTYPE( int lin_search, (int backwards) );
407_PROTOTYPE( int srchint, (void) );
408_PROTOTYPE( char *srch_ask, (char *prompt) );
409_PROTOTYPE( int f_risrch, (void) );
410_PROTOTYPE( int i_search, (int back) );
411
412/* eeterm.c */
413_PROTOTYPE( int t_init, (void) );
414_PROTOTYPE( int t_fatal, (char *str) );
415_PROTOTYPE( int t_enter, (void) );
416_PROTOTYPE( int t_exit, (void) );
417_PROTOTYPE( int t_clear, (void) );
418_PROTOTYPE( int t_curpos, (int lin, int col) );
419_PROTOTYPE( int t_backspace, (void) );
420_PROTOTYPE( int t_bell, (void) );
421_PROTOTYPE( int t_cleol, (void) );
422_PROTOTYPE( int t_inslin, (int n, int bot) );
423_PROTOTYPE( int t_dellin, (int n, int bot) );
424_PROTOTYPE( int t_inschr, (int n, char *str) );
425_PROTOTYPE( int t_delchr, (int n) );
426_PROTOTYPE( int t_standout, (int on) );
427_PROTOTYPE( int t_direct, (int lin, int col, char *str, int len) );
428_PROTOTYPE( int tput, (int ch) );
429_PROTOTYPE( int tputz, (char *str) );
430_PROTOTYPE( int tputn, (char *str, int cnt) );
431_PROTOTYPE( int tbufls, (void) );
432_PROTOTYPE( int tgetc, (void) );
433_PROTOTYPE( int tinwait, (void) );
434
435/* eevini.c */
Note: See TracBrowser for help on using the repository browser.