blob: f241d377e8d4f4867e4749c4c0128ac1e144be96 [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);
23timer_T *find_timer(int id);
24void 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);
55int get_arglist(garray_T *gap, char_u *str);
56int get_arglist_exp(char_u *str, int *fcountp, char_u ***fnamesp, int wig);
57void set_arglist(char_u *str);
58void check_arg_idx(win_T *win);
59void ex_args(exarg_T *eap);
60void ex_previous(exarg_T *eap);
61void ex_rewind(exarg_T *eap);
62void ex_last(exarg_T *eap);
63void ex_argument(exarg_T *eap);
64void do_argfile(exarg_T *eap, int argn);
65void ex_next(exarg_T *eap);
66void ex_argedit(exarg_T *eap);
67void ex_argadd(exarg_T *eap);
68void ex_argdelete(exarg_T *eap);
69void ex_listdo(exarg_T *eap);
70void ex_compiler(exarg_T *eap);
71void ex_runtime(exarg_T *eap);
Bram Moolenaar975b5272016-03-15 23:10:59 +010072int source_runtime(char_u *name, int flags);
Bram Moolenaar6bef5302016-03-12 21:28:26 +010073int 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 +010074int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie);
Bram Moolenaar2d8f56a2016-03-12 20:34:27 +010075void ex_packloadall(exarg_T *eap);
Bram Moolenaar91715872016-03-03 17:13:03 +010076void ex_packadd(exarg_T *eap);
Bram Moolenaaref269542016-01-19 13:22:12 +010077void ex_options(exarg_T *eap);
78void ex_source(exarg_T *eap);
79linenr_T *source_breakpoint(void *cookie);
80int *source_dbg_tick(void *cookie);
81int source_level(void *cookie);
82int do_source(char_u *fname, int check_other, int is_vimrc);
83void ex_scriptnames(exarg_T *eap);
84void scriptnames_slash_adjust(void);
85char_u *get_scriptname(scid_T id);
86void free_scriptnames(void);
87char *fgets_cr(char *s, int n, FILE *stream);
88char_u *getsourceline(int c, void *cookie, int indent);
89void script_line_start(void);
90void script_line_exec(void);
91void script_line_end(void);
92void ex_scriptencoding(exarg_T *eap);
93void ex_finish(exarg_T *eap);
94void do_finish(exarg_T *eap, int reanimate);
95int source_finished(char_u *(*fgetline)(int, void *, int), void *cookie);
96void ex_checktime(exarg_T *eap);
97char_u *get_mess_lang(void);
98void set_lang_var(void);
99void ex_language(exarg_T *eap);
100void free_locales(void);
101char_u *get_lang_arg(expand_T *xp, int idx);
102char_u *get_locales(expand_T *xp, int idx);
Bram Moolenaar071d4272004-06-13 20:20:40 +0000103/* vim: set ft=c : */