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