blob: ac9b291e5c7bfb8186c99a0eff37b2c42e1fb2ff [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* ex_cmds2.c */
Bram Moolenaar56bc8e22018-05-10 18:05:56 +02002int has_watchexpr(void);
Bram Moolenaaref269542016-01-19 13:22:12 +01003void do_debug(char_u *cmd);
4void ex_debug(exarg_T *eap);
5void dbg_check_breakpoint(exarg_T *eap);
6int dbg_check_skipped(exarg_T *eap);
7void ex_breakadd(exarg_T *eap);
8void ex_debuggreedy(exarg_T *eap);
9void ex_breakdel(exarg_T *eap);
10void ex_breaklist(exarg_T *eap);
11linenr_T dbg_find_breakpoint(int file, char_u *fname, linenr_T after);
12int has_profiling(int file, char_u *fname, int *fp);
13void dbg_breakpoint(char_u *name, linenr_T lnum);
14void profile_start(proftime_T *tm);
15void profile_end(proftime_T *tm);
16void profile_sub(proftime_T *tm, proftime_T *tm2);
17char *profile_msg(proftime_T *tm);
Bram Moolenaar79c2c882016-02-07 21:19:28 +010018float_T profile_float(proftime_T *tm);
Bram Moolenaaref269542016-01-19 13:22:12 +010019void profile_setlimit(long msec, proftime_T *tm);
20int profile_passed_limit(proftime_T *tm);
21void profile_zero(proftime_T *tm);
Bram Moolenaar56bc8e22018-05-10 18:05:56 +020022long proftime_time_left(proftime_T *due, proftime_T *now);
Bram Moolenaar623e2632016-07-30 22:47:56 +020023timer_T *create_timer(long msec, int repeat);
Bram Moolenaar975b5272016-03-15 23:10:59 +010024long check_due_timer(void);
Bram Moolenaar75537a92016-09-05 22:45:28 +020025timer_T *find_timer(long id);
Bram Moolenaar975b5272016-03-15 23:10:59 +010026void stop_timer(timer_T *timer);
Bram Moolenaarb73598e2016-08-07 18:22:53 +020027void stop_all_timers(void);
Bram Moolenaar8e97bd72016-08-06 22:05:07 +020028void add_timer_info(typval_T *rettv, timer_T *timer);
29void add_timer_info_all(typval_T *rettv);
Bram Moolenaare3188e22016-05-31 21:13:04 +020030int set_ref_in_timer(int copyID);
Bram Moolenaar623e2632016-07-30 22:47:56 +020031void timer_free_all(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010032void profile_divide(proftime_T *tm, int count, proftime_T *tm2);
33void profile_add(proftime_T *tm, proftime_T *tm2);
34void profile_self(proftime_T *self, proftime_T *total, proftime_T *children);
35void profile_get_wait(proftime_T *tm);
36void profile_sub_wait(proftime_T *tm, proftime_T *tma);
37int profile_equal(proftime_T *tm1, proftime_T *tm2);
38int profile_cmp(const proftime_T *tm1, const proftime_T *tm2);
39void ex_profile(exarg_T *eap);
40char_u *get_profile_name(expand_T *xp, int idx);
41void set_context_in_profile_cmd(expand_T *xp, char_u *arg);
42void profile_dump(void);
43void script_prof_save(proftime_T *tm);
44void script_prof_restore(proftime_T *tm);
45void prof_inchar_enter(void);
46void prof_inchar_exit(void);
47int prof_def_func(void);
48int autowrite(buf_T *buf, int forceit);
49void autowrite_all(void);
50int check_changed(buf_T *buf, int flags);
51void browse_save_fname(buf_T *buf);
52void dialog_changed(buf_T *buf, int checkall);
53int can_abandon(buf_T *buf, int forceit);
54int check_changed_any(int hidden, int unload);
55int check_fname(void);
56int buf_write_all(buf_T *buf, int forceit);
Bram Moolenaaref269542016-01-19 13:22:12 +010057int get_arglist_exp(char_u *str, int *fcountp, char_u ***fnamesp, int wig);
58void set_arglist(char_u *str);
59void check_arg_idx(win_T *win);
60void ex_args(exarg_T *eap);
61void ex_previous(exarg_T *eap);
62void ex_rewind(exarg_T *eap);
63void ex_last(exarg_T *eap);
64void ex_argument(exarg_T *eap);
65void do_argfile(exarg_T *eap, int argn);
66void ex_next(exarg_T *eap);
67void ex_argedit(exarg_T *eap);
68void ex_argadd(exarg_T *eap);
69void ex_argdelete(exarg_T *eap);
70void ex_listdo(exarg_T *eap);
Bram Moolenaarcd43eff2018-03-29 15:55:38 +020071char_u *get_arglist_name(expand_T *xp, int idx);
Bram Moolenaaref269542016-01-19 13:22:12 +010072void ex_compiler(exarg_T *eap);
73void ex_runtime(exarg_T *eap);
Bram Moolenaar6bef5302016-03-12 21:28:26 +010074int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie);
Bram Moolenaar975b5272016-03-15 23:10:59 +010075int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie);
Bram Moolenaar07ecfa62017-06-27 14:43:55 +020076int source_runtime(char_u *name, int flags);
77int source_in_path(char_u *path, char_u *name, int flags);
Bram Moolenaarce876aa2017-06-04 17:47:42 +020078void add_pack_start_dirs(void);
79void load_start_packages(void);
Bram Moolenaar2d8f56a2016-03-12 20:34:27 +010080void ex_packloadall(exarg_T *eap);
Bram Moolenaar91715872016-03-03 17:13:03 +010081void ex_packadd(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010082void ex_options(exarg_T *eap);
Bram Moolenaarf42dd3c2017-01-28 16:06:38 +010083void init_pyxversion(void);
84void ex_pyxfile(exarg_T *eap);
85void ex_pyx(exarg_T *eap);
86void ex_pyxdo(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010087void ex_source(exarg_T *eap);
88linenr_T *source_breakpoint(void *cookie);
89int *source_dbg_tick(void *cookie);
90int source_level(void *cookie);
91int do_source(char_u *fname, int check_other, int is_vimrc);
92void ex_scriptnames(exarg_T *eap);
93void scriptnames_slash_adjust(void);
94char_u *get_scriptname(scid_T id);
95void free_scriptnames(void);
96char *fgets_cr(char *s, int n, FILE *stream);
97char_u *getsourceline(int c, void *cookie, int indent);
98void script_line_start(void);
99void script_line_exec(void);
100void script_line_end(void);
101void ex_scriptencoding(exarg_T *eap);
102void ex_finish(exarg_T *eap);
103void do_finish(exarg_T *eap, int reanimate);
104int source_finished(char_u *(*fgetline)(int, void *, int), void *cookie);
105void ex_checktime(exarg_T *eap);
106char_u *get_mess_lang(void);
107void set_lang_var(void);
108void ex_language(exarg_T *eap);
109void free_locales(void);
110char_u *get_lang_arg(expand_T *xp, int idx);
111char_u *get_locales(expand_T *xp, int idx);
Bram Moolenaar071d4272004-06-13 20:20:40 +0000112/* vim: set ft=c : */