blob: c12e0d7308f0110dd51393968e820a55cd70cd0a [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* ex_cmds2.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002void profile_start(proftime_T *tm);
3void profile_end(proftime_T *tm);
4void profile_sub(proftime_T *tm, proftime_T *tm2);
5char *profile_msg(proftime_T *tm);
Bram Moolenaar79c2c882016-02-07 21:19:28 +01006float_T profile_float(proftime_T *tm);
Bram Moolenaaref269542016-01-19 13:22:12 +01007void profile_setlimit(long msec, proftime_T *tm);
8int profile_passed_limit(proftime_T *tm);
9void profile_zero(proftime_T *tm);
Bram Moolenaar56bc8e22018-05-10 18:05:56 +020010long proftime_time_left(proftime_T *due, proftime_T *now);
Bram Moolenaar623e2632016-07-30 22:47:56 +020011timer_T *create_timer(long msec, int repeat);
Bram Moolenaar975b5272016-03-15 23:10:59 +010012long check_due_timer(void);
Bram Moolenaar75537a92016-09-05 22:45:28 +020013timer_T *find_timer(long id);
Bram Moolenaar975b5272016-03-15 23:10:59 +010014void stop_timer(timer_T *timer);
Bram Moolenaarb73598e2016-08-07 18:22:53 +020015void stop_all_timers(void);
Bram Moolenaar8e97bd72016-08-06 22:05:07 +020016void add_timer_info(typval_T *rettv, timer_T *timer);
17void add_timer_info_all(typval_T *rettv);
Bram Moolenaare3188e22016-05-31 21:13:04 +020018int set_ref_in_timer(int copyID);
Bram Moolenaar623e2632016-07-30 22:47:56 +020019void timer_free_all(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010020void profile_divide(proftime_T *tm, int count, proftime_T *tm2);
21void profile_add(proftime_T *tm, proftime_T *tm2);
22void profile_self(proftime_T *self, proftime_T *total, proftime_T *children);
23void profile_get_wait(proftime_T *tm);
24void profile_sub_wait(proftime_T *tm, proftime_T *tma);
25int profile_equal(proftime_T *tm1, proftime_T *tm2);
26int profile_cmp(const proftime_T *tm1, const proftime_T *tm2);
27void ex_profile(exarg_T *eap);
28char_u *get_profile_name(expand_T *xp, int idx);
29void set_context_in_profile_cmd(expand_T *xp, char_u *arg);
30void profile_dump(void);
31void script_prof_save(proftime_T *tm);
32void script_prof_restore(proftime_T *tm);
33void prof_inchar_enter(void);
34void prof_inchar_exit(void);
35int prof_def_func(void);
36int autowrite(buf_T *buf, int forceit);
37void autowrite_all(void);
38int check_changed(buf_T *buf, int flags);
39void browse_save_fname(buf_T *buf);
40void dialog_changed(buf_T *buf, int checkall);
41int can_abandon(buf_T *buf, int forceit);
42int check_changed_any(int hidden, int unload);
43int check_fname(void);
44int buf_write_all(buf_T *buf, int forceit);
Bram Moolenaaref269542016-01-19 13:22:12 +010045int get_arglist_exp(char_u *str, int *fcountp, char_u ***fnamesp, int wig);
46void set_arglist(char_u *str);
47void check_arg_idx(win_T *win);
48void ex_args(exarg_T *eap);
49void ex_previous(exarg_T *eap);
50void ex_rewind(exarg_T *eap);
51void ex_last(exarg_T *eap);
52void ex_argument(exarg_T *eap);
53void do_argfile(exarg_T *eap, int argn);
54void ex_next(exarg_T *eap);
55void ex_argedit(exarg_T *eap);
56void ex_argadd(exarg_T *eap);
57void ex_argdelete(exarg_T *eap);
58void ex_listdo(exarg_T *eap);
Bram Moolenaarcd43eff2018-03-29 15:55:38 +020059char_u *get_arglist_name(expand_T *xp, int idx);
Bram Moolenaaref269542016-01-19 13:22:12 +010060void ex_compiler(exarg_T *eap);
61void ex_runtime(exarg_T *eap);
Bram Moolenaar6bef5302016-03-12 21:28:26 +010062int 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 +010063int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie);
Bram Moolenaar07ecfa62017-06-27 14:43:55 +020064int source_runtime(char_u *name, int flags);
65int source_in_path(char_u *path, char_u *name, int flags);
Bram Moolenaarce876aa2017-06-04 17:47:42 +020066void add_pack_start_dirs(void);
67void load_start_packages(void);
Bram Moolenaar2d8f56a2016-03-12 20:34:27 +010068void ex_packloadall(exarg_T *eap);
Bram Moolenaar91715872016-03-03 17:13:03 +010069void ex_packadd(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010070void ex_options(exarg_T *eap);
Bram Moolenaarf42dd3c2017-01-28 16:06:38 +010071void init_pyxversion(void);
72void ex_pyxfile(exarg_T *eap);
73void ex_pyx(exarg_T *eap);
74void ex_pyxdo(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010075void ex_source(exarg_T *eap);
76linenr_T *source_breakpoint(void *cookie);
77int *source_dbg_tick(void *cookie);
78int source_level(void *cookie);
79int do_source(char_u *fname, int check_other, int is_vimrc);
80void ex_scriptnames(exarg_T *eap);
81void scriptnames_slash_adjust(void);
82char_u *get_scriptname(scid_T id);
83void free_scriptnames(void);
Bram Moolenaarbc2cfe42019-07-04 14:57:12 +020084linenr_T get_sourced_lnum(char_u *(*fgetline)(int, void *, int, int), void *cookie);
Bram Moolenaare96a2492019-06-25 04:12:16 +020085char_u *getsourceline(int c, void *cookie, int indent, int do_concat);
Bram Moolenaaref269542016-01-19 13:22:12 +010086void script_line_start(void);
87void script_line_exec(void);
88void script_line_end(void);
89void ex_scriptencoding(exarg_T *eap);
Bram Moolenaar558ca4a2019-04-04 18:15:38 +020090void ex_scriptversion(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010091void ex_finish(exarg_T *eap);
92void do_finish(exarg_T *eap, int reanimate);
Bram Moolenaare96a2492019-06-25 04:12:16 +020093int source_finished(char_u *(*fgetline)(int, void *, int, int), void *cookie);
Bram Moolenaaref269542016-01-19 13:22:12 +010094void ex_checktime(exarg_T *eap);
95char_u *get_mess_lang(void);
96void set_lang_var(void);
97void ex_language(exarg_T *eap);
98void free_locales(void);
99char_u *get_lang_arg(expand_T *xp, int idx);
100char_u *get_locales(expand_T *xp, int idx);
Bram Moolenaar071d4272004-06-13 20:20:40 +0000101/* vim: set ft=c : */