1*721c3ea3Smartijn /* $OpenBSD: vi_extern.h,v 1.11 2016/05/27 09:18:12 martijn Exp $ */ 2d4e7c603Sniklas 3c72b5b24Smillert int cs_init(SCR *, VCS *); 4c72b5b24Smillert int cs_next(SCR *, VCS *); 5c72b5b24Smillert int cs_fspace(SCR *, VCS *); 6c72b5b24Smillert int cs_fblank(SCR *, VCS *); 7c72b5b24Smillert int cs_prev(SCR *, VCS *); 8c72b5b24Smillert int cs_bblank(SCR *, VCS *); 9c72b5b24Smillert int v_at(SCR *, VICMD *); 10c72b5b24Smillert int v_chrepeat(SCR *, VICMD *); 11c72b5b24Smillert int v_chrrepeat(SCR *, VICMD *); 12c72b5b24Smillert int v_cht(SCR *, VICMD *); 13c72b5b24Smillert int v_chf(SCR *, VICMD *); 14c72b5b24Smillert int v_chT(SCR *, VICMD *); 15c72b5b24Smillert int v_chF(SCR *, VICMD *); 16c72b5b24Smillert int v_delete(SCR *, VICMD *); 17c72b5b24Smillert int v_again(SCR *, VICMD *); 18c72b5b24Smillert int v_exmode(SCR *, VICMD *); 19c72b5b24Smillert int v_join(SCR *, VICMD *); 20c72b5b24Smillert int v_shiftl(SCR *, VICMD *); 21c72b5b24Smillert int v_shiftr(SCR *, VICMD *); 22c72b5b24Smillert int v_suspend(SCR *, VICMD *); 23c72b5b24Smillert int v_switch(SCR *, VICMD *); 24c72b5b24Smillert int v_tagpush(SCR *, VICMD *); 25c72b5b24Smillert int v_tagpop(SCR *, VICMD *); 26c72b5b24Smillert int v_filter(SCR *, VICMD *); 27c72b5b24Smillert int v_event_exec(SCR *, VICMD *); 28c72b5b24Smillert int v_ex(SCR *, VICMD *); 29c72b5b24Smillert int v_ecl_exec(SCR *); 30c72b5b24Smillert int v_increment(SCR *, VICMD *); 31c72b5b24Smillert int v_screen_copy(SCR *, SCR *); 32c72b5b24Smillert int v_screen_end(SCR *); 33c72b5b24Smillert int v_optchange(SCR *, int, char *, u_long *); 34c72b5b24Smillert int v_iA(SCR *, VICMD *); 35c72b5b24Smillert int v_ia(SCR *, VICMD *); 36c72b5b24Smillert int v_iI(SCR *, VICMD *); 37c72b5b24Smillert int v_ii(SCR *, VICMD *); 38c72b5b24Smillert int v_iO(SCR *, VICMD *); 39c72b5b24Smillert int v_io(SCR *, VICMD *); 40c72b5b24Smillert int v_change(SCR *, VICMD *); 41c72b5b24Smillert int v_Replace(SCR *, VICMD *); 42c72b5b24Smillert int v_subst(SCR *, VICMD *); 43c72b5b24Smillert int v_left(SCR *, VICMD *); 44c72b5b24Smillert int v_cfirst(SCR *, VICMD *); 45c72b5b24Smillert int v_first(SCR *, VICMD *); 46c72b5b24Smillert int v_ncol(SCR *, VICMD *); 47c72b5b24Smillert int v_zero(SCR *, VICMD *); 48c72b5b24Smillert int v_mark(SCR *, VICMD *); 49c72b5b24Smillert int v_bmark(SCR *, VICMD *); 50c72b5b24Smillert int v_fmark(SCR *, VICMD *); 51c72b5b24Smillert int v_match(SCR *, VICMD *); 52c72b5b24Smillert int v_paragraphf(SCR *, VICMD *); 53c72b5b24Smillert int v_paragraphb(SCR *, VICMD *); 54c72b5b24Smillert int v_buildps(SCR *, char *, char *); 55c72b5b24Smillert int v_Put(SCR *, VICMD *); 56c72b5b24Smillert int v_put(SCR *, VICMD *); 57c72b5b24Smillert int v_redraw(SCR *, VICMD *); 58c72b5b24Smillert int v_replace(SCR *, VICMD *); 59c72b5b24Smillert int v_right(SCR *, VICMD *); 60c72b5b24Smillert int v_dollar(SCR *, VICMD *); 61c72b5b24Smillert int v_screen(SCR *, VICMD *); 62c72b5b24Smillert int v_lgoto(SCR *, VICMD *); 63c72b5b24Smillert int v_home(SCR *, VICMD *); 64c72b5b24Smillert int v_middle(SCR *, VICMD *); 65c72b5b24Smillert int v_bottom(SCR *, VICMD *); 66c72b5b24Smillert int v_up(SCR *, VICMD *); 67c72b5b24Smillert int v_cr(SCR *, VICMD *); 68c72b5b24Smillert int v_down(SCR *, VICMD *); 69c72b5b24Smillert int v_hpageup(SCR *, VICMD *); 70c72b5b24Smillert int v_hpagedown(SCR *, VICMD *); 71c72b5b24Smillert int v_pagedown(SCR *, VICMD *); 72c72b5b24Smillert int v_pageup(SCR *, VICMD *); 73c72b5b24Smillert int v_lineup(SCR *, VICMD *); 74c72b5b24Smillert int v_linedown(SCR *, VICMD *); 75c72b5b24Smillert int v_searchb(SCR *, VICMD *); 76c72b5b24Smillert int v_searchf(SCR *, VICMD *); 77c72b5b24Smillert int v_searchN(SCR *, VICMD *); 78c72b5b24Smillert int v_searchn(SCR *, VICMD *); 79c72b5b24Smillert int v_searchw(SCR *, VICMD *); 80c72b5b24Smillert int v_correct(SCR *, VICMD *, int); 81c72b5b24Smillert int v_sectionf(SCR *, VICMD *); 82c72b5b24Smillert int v_sectionb(SCR *, VICMD *); 83c72b5b24Smillert int v_sentencef(SCR *, VICMD *); 84c72b5b24Smillert int v_sentenceb(SCR *, VICMD *); 85c72b5b24Smillert int v_status(SCR *, VICMD *); 86*721c3ea3Smartijn int v_tcmd(SCR *, VICMD *, CHAR_T, u_int); 87f3c3a9c6Smillert int v_txt(SCR *, VICMD *, MARK *, 88*721c3ea3Smartijn const char *, size_t, CHAR_T, recno_t, u_long, u_int32_t); 89c72b5b24Smillert int v_txt_auto(SCR *, recno_t, TEXT *, size_t, TEXT *); 90c72b5b24Smillert int v_ulcase(SCR *, VICMD *); 91c72b5b24Smillert int v_mulcase(SCR *, VICMD *); 92c72b5b24Smillert int v_Undo(SCR *, VICMD *); 93c72b5b24Smillert int v_undo(SCR *, VICMD *); 94c72b5b24Smillert void v_eof(SCR *, MARK *); 95c72b5b24Smillert void v_eol(SCR *, MARK *); 96c72b5b24Smillert void v_nomove(SCR *); 97c72b5b24Smillert void v_sof(SCR *, MARK *); 98c72b5b24Smillert void v_sol(SCR *); 99c72b5b24Smillert int v_isempty(char *, size_t); 100c72b5b24Smillert void v_emsg(SCR *, char *, vim_t); 101c72b5b24Smillert int v_wordW(SCR *, VICMD *); 102c72b5b24Smillert int v_wordw(SCR *, VICMD *); 103c72b5b24Smillert int v_wordE(SCR *, VICMD *); 104c72b5b24Smillert int v_worde(SCR *, VICMD *); 105c72b5b24Smillert int v_wordB(SCR *, VICMD *); 106c72b5b24Smillert int v_wordb(SCR *, VICMD *); 107c72b5b24Smillert int v_xchar(SCR *, VICMD *); 108c72b5b24Smillert int v_Xchar(SCR *, VICMD *); 109c72b5b24Smillert int v_yank(SCR *, VICMD *); 110c72b5b24Smillert int v_z(SCR *, VICMD *); 111c72b5b24Smillert int vs_crel(SCR *, long); 112c72b5b24Smillert int v_zexit(SCR *, VICMD *); 113c72b5b24Smillert int vi(SCR **); 114c72b5b24Smillert int vs_line(SCR *, SMAP *, size_t *, size_t *); 115c72b5b24Smillert int vs_number(SCR *); 116c72b5b24Smillert void vs_busy(SCR *, const char *, busy_t); 117c72b5b24Smillert void vs_home(SCR *); 118c72b5b24Smillert void vs_update(SCR *, const char *, const char *); 119c72b5b24Smillert void vs_msg(SCR *, mtype_t, char *, size_t); 120c72b5b24Smillert int vs_ex_resolve(SCR *, int *); 121c72b5b24Smillert int vs_resolve(SCR *, SCR *, int); 122c72b5b24Smillert int vs_repaint(SCR *, EVENT *); 123c72b5b24Smillert int vs_refresh(SCR *, int); 124c72b5b24Smillert int vs_column(SCR *, size_t *); 125c72b5b24Smillert size_t vs_screens(SCR *, recno_t, size_t *); 126c72b5b24Smillert size_t vs_columns(SCR *, char *, recno_t, size_t *, size_t *); 127c72b5b24Smillert size_t vs_rcm(SCR *, recno_t, int); 128c72b5b24Smillert size_t vs_colpos(SCR *, recno_t, size_t); 129c72b5b24Smillert int vs_change(SCR *, recno_t, lnop_t); 130c72b5b24Smillert int vs_sm_fill(SCR *, recno_t, pos_t); 131c72b5b24Smillert int vs_sm_scroll(SCR *, MARK *, recno_t, scroll_t); 132c72b5b24Smillert int vs_sm_1up(SCR *); 133c72b5b24Smillert int vs_sm_1down(SCR *); 134c72b5b24Smillert int vs_sm_next(SCR *, SMAP *, SMAP *); 135c72b5b24Smillert int vs_sm_prev(SCR *, SMAP *, SMAP *); 136c72b5b24Smillert int vs_sm_cursor(SCR *, SMAP **); 137c72b5b24Smillert int vs_sm_position(SCR *, MARK *, u_long, pos_t); 138c72b5b24Smillert recno_t vs_sm_nlines(SCR *, SMAP *, recno_t, size_t); 139c72b5b24Smillert int vs_split(SCR *, SCR *, int); 140c72b5b24Smillert int vs_discard(SCR *, SCR **); 141*721c3ea3Smartijn int vs_fg(SCR *, SCR **, CHAR_T *, int); 142c72b5b24Smillert int vs_bg(SCR *); 143c72b5b24Smillert int vs_swap(SCR *, SCR **, char *); 144c72b5b24Smillert int vs_resize(SCR *, long, adj_t); 145