blob: 304ad7398f95aad42fe706673ee34b66ca497576 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* search.c */
2int search_regcomp __ARGS((char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch));
3char_u *get_search_pat __ARGS((void));
4void save_search_patterns __ARGS((void));
5void restore_search_patterns __ARGS((void));
6int ignorecase __ARGS((char_u *pat));
7char_u *last_search_pat __ARGS((void));
8void reset_search_dir __ARGS((void));
9void set_last_search_pat __ARGS((char_u *s, int idx, int magic, int setlast));
10void last_pat_prog __ARGS((regmmatch_T *regmatch));
11int searchit __ARGS((win_T *win, buf_T *buf, pos_T *pos, int dir, char_u *pat, long count, int options, int pat_use));
12int do_search __ARGS((oparg_T *oap, int dirc, char_u *pat, long count, int options));
13int search_for_exact_line __ARGS((buf_T *buf, pos_T *pos, int dir, char_u *pat));
14int searchc __ARGS((cmdarg_T *cap, int t_cmd));
15pos_T *findmatch __ARGS((oparg_T *oap, int initc));
16pos_T *findmatchlimit __ARGS((oparg_T *oap, int initc, int flags, int maxtravel));
17void showmatch __ARGS((int c));
18int findsent __ARGS((int dir, long count));
19int findpar __ARGS((oparg_T *oap, int dir, long count, int what, int both));
20int startPS __ARGS((linenr_T lnum, int para, int both));
21int fwd_word __ARGS((long count, int bigword, int eol));
22int bck_word __ARGS((long count, int bigword, int stop));
23int end_word __ARGS((long count, int bigword, int stop, int empty));
24int bckend_word __ARGS((long count, int bigword, int eol));
25int current_word __ARGS((oparg_T *oap, long count, int include, int bigword));
26int current_sent __ARGS((oparg_T *oap, long count, int include));
27int current_block __ARGS((oparg_T *oap, long count, int include, int what, int other));
28int current_par __ARGS((oparg_T *oap, long count, int include, int type));
Bram Moolenaarcfbc5ee2004-07-02 15:38:35 +000029int current_quote __ARGS((oparg_T *oap, long count, int include, int quotechar));
Bram Moolenaar071d4272004-06-13 20:20:40 +000030int linewhite __ARGS((linenr_T lnum));
31void 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));
32int read_viminfo_search_pattern __ARGS((vir_T *virp, int force));
33void write_viminfo_search_pattern __ARGS((FILE *fp));
34/* vim: set ft=c : */