Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* search.c */ |
Bram Moolenaar | 76b92b2 | 2006-03-24 22:46:53 +0000 | [diff] [blame] | 2 | extern int search_regcomp __ARGS((char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch)); |
| 3 | extern char_u *get_search_pat __ARGS((void)); |
| 4 | extern void save_search_patterns __ARGS((void)); |
| 5 | extern void restore_search_patterns __ARGS((void)); |
| 6 | extern void free_search_patterns __ARGS((void)); |
| 7 | extern int ignorecase __ARGS((char_u *pat)); |
| 8 | extern char_u *last_search_pat __ARGS((void)); |
| 9 | extern void reset_search_dir __ARGS((void)); |
| 10 | extern void set_last_search_pat __ARGS((char_u *s, int idx, int magic, int setlast)); |
| 11 | extern void last_pat_prog __ARGS((regmmatch_T *regmatch)); |
| 12 | extern int searchit __ARGS((win_T *win, buf_T *buf, pos_T *pos, int dir, char_u *pat, long count, int options, int pat_use, linenr_T stop_lnum)); |
| 13 | extern int do_search __ARGS((oparg_T *oap, int dirc, char_u *pat, long count, int options)); |
| 14 | extern int search_for_exact_line __ARGS((buf_T *buf, pos_T *pos, int dir, char_u *pat)); |
| 15 | extern int searchc __ARGS((cmdarg_T *cap, int t_cmd)); |
| 16 | extern pos_T *findmatch __ARGS((oparg_T *oap, int initc)); |
| 17 | extern pos_T *findmatchlimit __ARGS((oparg_T *oap, int initc, int flags, int maxtravel)); |
| 18 | extern void showmatch __ARGS((int c)); |
| 19 | extern int findsent __ARGS((int dir, long count)); |
| 20 | extern int findpar __ARGS((int *pincl, int dir, long count, int what, int both)); |
| 21 | extern int startPS __ARGS((linenr_T lnum, int para, int both)); |
| 22 | extern int fwd_word __ARGS((long count, int bigword, int eol)); |
| 23 | extern int bck_word __ARGS((long count, int bigword, int stop)); |
| 24 | extern int end_word __ARGS((long count, int bigword, int stop, int empty)); |
| 25 | extern int bckend_word __ARGS((long count, int bigword, int eol)); |
| 26 | extern int current_word __ARGS((oparg_T *oap, long count, int include, int bigword)); |
| 27 | extern int current_sent __ARGS((oparg_T *oap, long count, int include)); |
| 28 | extern int current_block __ARGS((oparg_T *oap, long count, int include, int what, int other)); |
| 29 | extern int current_tagblock __ARGS((oparg_T *oap, long count_arg, int include)); |
| 30 | extern int current_par __ARGS((oparg_T *oap, long count, int include, int type)); |
| 31 | extern int current_quote __ARGS((oparg_T *oap, long count, int include, int quotechar)); |
| 32 | extern int linewhite __ARGS((linenr_T lnum)); |
| 33 | extern void find_pattern_in_path __ARGS((char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum)); |
| 34 | extern int read_viminfo_search_pattern __ARGS((vir_T *virp, int force)); |
| 35 | extern void write_viminfo_search_pattern __ARGS((FILE *fp)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 36 | /* vim: set ft=c : */ |