Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* search.c */ |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 2 | int search_regcomp __ARGS((char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch)); |
| 3 | char_u *get_search_pat __ARGS((void)); |
Bram Moolenaar | abc9773 | 2007-08-08 20:49:37 +0000 | [diff] [blame] | 4 | char_u *reverse_text __ARGS((char_u *s)); |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 5 | void save_search_patterns __ARGS((void)); |
| 6 | void restore_search_patterns __ARGS((void)); |
| 7 | void free_search_patterns __ARGS((void)); |
| 8 | int ignorecase __ARGS((char_u *pat)); |
Bram Moolenaar | a9dc375 | 2010-07-11 20:46:53 +0200 | [diff] [blame] | 9 | int pat_has_uppercase __ARGS((char_u *pat)); |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 10 | char_u *last_search_pat __ARGS((void)); |
| 11 | void reset_search_dir __ARGS((void)); |
| 12 | void set_last_search_pat __ARGS((char_u *s, int idx, int magic, int setlast)); |
| 13 | void last_pat_prog __ARGS((regmmatch_T *regmatch)); |
Bram Moolenaar | 7692929 | 2008-01-06 19:07:36 +0000 | [diff] [blame] | 14 | 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, proftime_T *tm)); |
Bram Moolenaar | 8c8de83 | 2008-06-24 22:58:06 +0000 | [diff] [blame] | 15 | void set_search_direction __ARGS((int cdir)); |
Bram Moolenaar | 91a4e82 | 2008-01-19 14:59:58 +0000 | [diff] [blame] | 16 | int do_search __ARGS((oparg_T *oap, int dirc, char_u *pat, long count, int options, proftime_T *tm)); |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 17 | int search_for_exact_line __ARGS((buf_T *buf, pos_T *pos, int dir, char_u *pat)); |
| 18 | int searchc __ARGS((cmdarg_T *cap, int t_cmd)); |
| 19 | pos_T *findmatch __ARGS((oparg_T *oap, int initc)); |
| 20 | pos_T *findmatchlimit __ARGS((oparg_T *oap, int initc, int flags, int maxtravel)); |
| 21 | void showmatch __ARGS((int c)); |
| 22 | int findsent __ARGS((int dir, long count)); |
| 23 | int findpar __ARGS((int *pincl, int dir, long count, int what, int both)); |
| 24 | int startPS __ARGS((linenr_T lnum, int para, int both)); |
| 25 | int fwd_word __ARGS((long count, int bigword, int eol)); |
| 26 | int bck_word __ARGS((long count, int bigword, int stop)); |
| 27 | int end_word __ARGS((long count, int bigword, int stop, int empty)); |
| 28 | int bckend_word __ARGS((long count, int bigword, int eol)); |
| 29 | int current_word __ARGS((oparg_T *oap, long count, int include, int bigword)); |
| 30 | int current_sent __ARGS((oparg_T *oap, long count, int include)); |
| 31 | int current_block __ARGS((oparg_T *oap, long count, int include, int what, int other)); |
| 32 | int current_tagblock __ARGS((oparg_T *oap, long count_arg, int include)); |
| 33 | int current_par __ARGS((oparg_T *oap, long count, int include, int type)); |
| 34 | int current_quote __ARGS((oparg_T *oap, long count, int include, int quotechar)); |
Bram Moolenaar | 7c5f120 | 2012-11-20 16:56:54 +0100 | [diff] [blame^] | 35 | int current_search __ARGS((long count, int forward)); |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 36 | int linewhite __ARGS((linenr_T lnum)); |
| 37 | 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)); |
| 38 | int read_viminfo_search_pattern __ARGS((vir_T *virp, int force)); |
| 39 | void write_viminfo_search_pattern __ARGS((FILE *fp)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 40 | /* vim: set ft=c : */ |