hack(6): Allow to play without setgid.
[dragonfly.git] / usr.bin / vi / ex_extern.h
blobed1e1b793172a2ce61b799ba08256d4c594044f0
1 int ex(SCR **);
2 int ex_cmd(SCR *);
3 int ex_range(SCR *, EXCMD *, int *);
4 int ex_is_abbrev(CHAR_T *, size_t);
5 int ex_is_unmap(CHAR_T *, size_t);
6 void ex_badaddr
7 (SCR *, EXCMDLIST const *, enum badaddr, enum nresult);
8 int ex_abbr(SCR *, EXCMD *);
9 int ex_unabbr(SCR *, EXCMD *);
10 int ex_append(SCR *, EXCMD *);
11 int ex_change(SCR *, EXCMD *);
12 int ex_insert(SCR *, EXCMD *);
13 int ex_next(SCR *, EXCMD *);
14 int ex_prev(SCR *, EXCMD *);
15 int ex_rew(SCR *, EXCMD *);
16 int ex_args(SCR *, EXCMD *);
17 char **ex_buildargv(SCR *, EXCMD *, char *);
18 int argv_init(SCR *, EXCMD *);
19 int argv_exp0(SCR *, EXCMD *, CHAR_T *, size_t);
20 int argv_exp1(SCR *, EXCMD *, CHAR_T *, size_t, int);
21 int argv_exp2(SCR *, EXCMD *, CHAR_T *, size_t);
22 int argv_exp3(SCR *, EXCMD *, CHAR_T *, size_t);
23 int argv_flt_ex(SCR *, EXCMD *, CHAR_T *, size_t);
24 int argv_free(SCR *);
25 int argv_flt_path(SCR *, EXCMD *, CHAR_T *, size_t);
26 CHAR_T *argv_esc(SCR *, EXCMD *, CHAR_T *, size_t);
27 CHAR_T *argv_uesc(SCR *, EXCMD *, CHAR_T *, size_t);
28 int ex_at(SCR *, EXCMD *);
29 int ex_bang(SCR *, EXCMD *);
30 int ex_cd(SCR *, EXCMD *);
31 int ex_cscope(SCR *, EXCMD *);
32 int cscope_end(SCR *);
33 int cscope_display(SCR *);
34 int cscope_search(SCR *, TAGQ *, TAG *);
35 int ex_delete(SCR *, EXCMD *);
36 int ex_display(SCR *, EXCMD *);
37 int ex_edit(SCR *, EXCMD *);
38 int ex_equal(SCR *, EXCMD *);
39 int ex_file(SCR *, EXCMD *);
40 int ex_filter(SCR *,
41 EXCMD *, MARK *, MARK *, MARK *, CHAR_T *, enum filtertype);
42 int ex_global(SCR *, EXCMD *);
43 int ex_v(SCR *, EXCMD *);
44 int ex_g_insdel(SCR *, lnop_t, recno_t);
45 int ex_screen_copy(SCR *, SCR *);
46 int ex_screen_end(SCR *);
47 int ex_optchange(SCR *, int, char *, u_long *);
48 int ex_exrc(SCR *);
49 int ex_run_str(SCR *, char *, CHAR_T *, size_t, int, int);
50 int ex_join(SCR *, EXCMD *);
51 int ex_map(SCR *, EXCMD *);
52 int ex_unmap(SCR *, EXCMD *);
53 int ex_mark(SCR *, EXCMD *);
54 int ex_mkexrc(SCR *, EXCMD *);
55 int ex_copy(SCR *, EXCMD *);
56 int ex_move(SCR *, EXCMD *);
57 int ex_open(SCR *, EXCMD *);
58 int ex_preserve(SCR *, EXCMD *);
59 int ex_recover(SCR *, EXCMD *);
60 int ex_list(SCR *, EXCMD *);
61 int ex_number(SCR *, EXCMD *);
62 int ex_pr(SCR *, EXCMD *);
63 int ex_print(SCR *, EXCMD *, MARK *, MARK *, u_int32_t);
64 int ex_ldisplay(SCR *, const CHAR_T *, size_t, size_t, u_int);
65 int ex_scprint(SCR *, MARK *, MARK *);
66 int ex_printf(SCR *, const char *, ...);
67 int ex_puts(SCR *, const char *);
68 int ex_fflush(SCR *sp);
69 int ex_put(SCR *, EXCMD *);
70 int ex_quit(SCR *, EXCMD *);
71 int ex_read(SCR *, EXCMD *);
72 int ex_readfp(SCR *, char *, FILE *, MARK *, recno_t *, int);
73 int ex_bg(SCR *, EXCMD *);
74 int ex_fg(SCR *, EXCMD *);
75 int ex_resize(SCR *, EXCMD *);
76 int ex_sdisplay(SCR *);
77 int ex_script(SCR *, EXCMD *);
78 int sscr_exec(SCR *, recno_t);
79 int sscr_input(SCR *);
80 int sscr_end(SCR *);
81 int ex_set(SCR *, EXCMD *);
82 int ex_shell(SCR *, EXCMD *);
83 int ex_exec_proc(SCR *, EXCMD *, char *, const char *, int);
84 int proc_wait(SCR *, long, const char *, int, int);
85 int ex_shiftl(SCR *, EXCMD *);
86 int ex_shiftr(SCR *, EXCMD *);
87 int ex_source(SCR *, EXCMD *);
88 int ex_stop(SCR *, EXCMD *);
89 int ex_s(SCR *, EXCMD *);
90 int ex_subagain(SCR *, EXCMD *);
91 int ex_subtilde(SCR *, EXCMD *);
92 int re_compile(SCR *,
93 CHAR_T *, size_t, CHAR_T **, size_t *, regex_t *, u_int);
94 void re_error(SCR *, int, regex_t *);
95 int ex_tag_first(SCR *, CHAR_T *);
96 int ex_tag_push(SCR *, EXCMD *);
97 int ex_tag_next(SCR *, EXCMD *);
98 int ex_tag_prev(SCR *, EXCMD *);
99 int ex_tag_nswitch(SCR *, TAG *, int);
100 int ex_tag_Nswitch(SCR *, TAG *, int);
101 int ex_tag_pop(SCR *, EXCMD *);
102 int ex_tag_top(SCR *, EXCMD *);
103 int ex_tag_display(SCR *);
104 int ex_tag_copy(SCR *, SCR *);
105 int tagq_free(SCR *, TAGQ *);
106 int tagq_push(SCR*, TAGQ*, int, int );
107 void tag_msg(SCR *, tagmsg_t, char *);
108 int ex_tagf_alloc(SCR *, char *);
109 int ex_tag_free(SCR *);
110 int ex_txt(SCR *, TEXTH *, ARG_CHAR_T, u_int32_t);
111 int ex_undo(SCR *, EXCMD *);
112 int ex_help(SCR *, EXCMD *);
113 int ex_usage(SCR *, EXCMD *);
114 int ex_viusage(SCR *, EXCMD *);
115 void ex_cinit(SCR *, EXCMD *, int, int, recno_t, recno_t, int);
116 int ex_getline(SCR *, FILE *, size_t *);
117 int ex_ncheck(SCR *, int);
118 int ex_init(SCR *);
119 void ex_wemsg(SCR *, CHAR_T *, exm_t);
120 void ex_emsg(SCR *, char *, exm_t);
121 int ex_version(SCR *, EXCMD *);
122 int ex_visual(SCR *, EXCMD *);
123 int ex_wn(SCR *, EXCMD *);
124 int ex_wq(SCR *, EXCMD *);
125 int ex_write(SCR *, EXCMD *);
126 int ex_xit(SCR *, EXCMD *);
127 int ex_writefp(SCR *,
128 char *, FILE *, MARK *, MARK *, u_long *, u_long *, int);
129 int ex_yank(SCR *, EXCMD *);
130 int ex_z(SCR *, EXCMD *);