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