Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* ex_cmds2.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | void profile_start(proftime_T *tm); |
| 3 | void profile_end(proftime_T *tm); |
| 4 | void profile_sub(proftime_T *tm, proftime_T *tm2); |
| 5 | char *profile_msg(proftime_T *tm); |
Bram Moolenaar | 79c2c88 | 2016-02-07 21:19:28 +0100 | [diff] [blame] | 6 | float_T profile_float(proftime_T *tm); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 7 | void profile_setlimit(long msec, proftime_T *tm); |
| 8 | int profile_passed_limit(proftime_T *tm); |
| 9 | void profile_zero(proftime_T *tm); |
Bram Moolenaar | 56bc8e2 | 2018-05-10 18:05:56 +0200 | [diff] [blame] | 10 | long proftime_time_left(proftime_T *due, proftime_T *now); |
Bram Moolenaar | 623e263 | 2016-07-30 22:47:56 +0200 | [diff] [blame] | 11 | timer_T *create_timer(long msec, int repeat); |
Bram Moolenaar | 975b527 | 2016-03-15 23:10:59 +0100 | [diff] [blame] | 12 | long check_due_timer(void); |
Bram Moolenaar | 75537a9 | 2016-09-05 22:45:28 +0200 | [diff] [blame] | 13 | timer_T *find_timer(long id); |
Bram Moolenaar | 975b527 | 2016-03-15 23:10:59 +0100 | [diff] [blame] | 14 | void stop_timer(timer_T *timer); |
Bram Moolenaar | b73598e | 2016-08-07 18:22:53 +0200 | [diff] [blame] | 15 | void stop_all_timers(void); |
Bram Moolenaar | 8e97bd7 | 2016-08-06 22:05:07 +0200 | [diff] [blame] | 16 | void add_timer_info(typval_T *rettv, timer_T *timer); |
| 17 | void add_timer_info_all(typval_T *rettv); |
Bram Moolenaar | e3188e2 | 2016-05-31 21:13:04 +0200 | [diff] [blame] | 18 | int set_ref_in_timer(int copyID); |
Bram Moolenaar | 623e263 | 2016-07-30 22:47:56 +0200 | [diff] [blame] | 19 | void timer_free_all(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 20 | void profile_divide(proftime_T *tm, int count, proftime_T *tm2); |
| 21 | void profile_add(proftime_T *tm, proftime_T *tm2); |
| 22 | void profile_self(proftime_T *self, proftime_T *total, proftime_T *children); |
| 23 | void profile_get_wait(proftime_T *tm); |
| 24 | void profile_sub_wait(proftime_T *tm, proftime_T *tma); |
| 25 | int profile_equal(proftime_T *tm1, proftime_T *tm2); |
| 26 | int profile_cmp(const proftime_T *tm1, const proftime_T *tm2); |
| 27 | void ex_profile(exarg_T *eap); |
| 28 | char_u *get_profile_name(expand_T *xp, int idx); |
| 29 | void set_context_in_profile_cmd(expand_T *xp, char_u *arg); |
| 30 | void profile_dump(void); |
| 31 | void script_prof_save(proftime_T *tm); |
| 32 | void script_prof_restore(proftime_T *tm); |
| 33 | void prof_inchar_enter(void); |
| 34 | void prof_inchar_exit(void); |
| 35 | int prof_def_func(void); |
| 36 | int autowrite(buf_T *buf, int forceit); |
| 37 | void autowrite_all(void); |
| 38 | int check_changed(buf_T *buf, int flags); |
| 39 | void browse_save_fname(buf_T *buf); |
| 40 | void dialog_changed(buf_T *buf, int checkall); |
| 41 | int can_abandon(buf_T *buf, int forceit); |
| 42 | int check_changed_any(int hidden, int unload); |
| 43 | int check_fname(void); |
| 44 | int buf_write_all(buf_T *buf, int forceit); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 45 | int get_arglist_exp(char_u *str, int *fcountp, char_u ***fnamesp, int wig); |
| 46 | void set_arglist(char_u *str); |
| 47 | void check_arg_idx(win_T *win); |
| 48 | void ex_args(exarg_T *eap); |
| 49 | void ex_previous(exarg_T *eap); |
| 50 | void ex_rewind(exarg_T *eap); |
| 51 | void ex_last(exarg_T *eap); |
| 52 | void ex_argument(exarg_T *eap); |
| 53 | void do_argfile(exarg_T *eap, int argn); |
| 54 | void ex_next(exarg_T *eap); |
| 55 | void ex_argedit(exarg_T *eap); |
| 56 | void ex_argadd(exarg_T *eap); |
| 57 | void ex_argdelete(exarg_T *eap); |
| 58 | void ex_listdo(exarg_T *eap); |
Bram Moolenaar | cd43eff | 2018-03-29 15:55:38 +0200 | [diff] [blame] | 59 | char_u *get_arglist_name(expand_T *xp, int idx); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 60 | void ex_compiler(exarg_T *eap); |
| 61 | void ex_runtime(exarg_T *eap); |
Bram Moolenaar | 6bef530 | 2016-03-12 21:28:26 +0100 | [diff] [blame] | 62 | int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); |
Bram Moolenaar | 975b527 | 2016-03-15 23:10:59 +0100 | [diff] [blame] | 63 | int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie); |
Bram Moolenaar | 07ecfa6 | 2017-06-27 14:43:55 +0200 | [diff] [blame] | 64 | int source_runtime(char_u *name, int flags); |
| 65 | int source_in_path(char_u *path, char_u *name, int flags); |
Bram Moolenaar | ce876aa | 2017-06-04 17:47:42 +0200 | [diff] [blame] | 66 | void add_pack_start_dirs(void); |
| 67 | void load_start_packages(void); |
Bram Moolenaar | 2d8f56a | 2016-03-12 20:34:27 +0100 | [diff] [blame] | 68 | void ex_packloadall(exarg_T *eap); |
Bram Moolenaar | 9171587 | 2016-03-03 17:13:03 +0100 | [diff] [blame] | 69 | void ex_packadd(exarg_T *eap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 70 | void ex_options(exarg_T *eap); |
Bram Moolenaar | f42dd3c | 2017-01-28 16:06:38 +0100 | [diff] [blame] | 71 | void init_pyxversion(void); |
| 72 | void ex_pyxfile(exarg_T *eap); |
| 73 | void ex_pyx(exarg_T *eap); |
| 74 | void ex_pyxdo(exarg_T *eap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 75 | void ex_source(exarg_T *eap); |
| 76 | linenr_T *source_breakpoint(void *cookie); |
| 77 | int *source_dbg_tick(void *cookie); |
| 78 | int source_level(void *cookie); |
| 79 | int do_source(char_u *fname, int check_other, int is_vimrc); |
| 80 | void ex_scriptnames(exarg_T *eap); |
| 81 | void scriptnames_slash_adjust(void); |
| 82 | char_u *get_scriptname(scid_T id); |
| 83 | void free_scriptnames(void); |
Bram Moolenaar | bc2cfe4 | 2019-07-04 14:57:12 +0200 | [diff] [blame^] | 84 | linenr_T get_sourced_lnum(char_u *(*fgetline)(int, void *, int, int), void *cookie); |
Bram Moolenaar | e96a249 | 2019-06-25 04:12:16 +0200 | [diff] [blame] | 85 | char_u *getsourceline(int c, void *cookie, int indent, int do_concat); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 86 | void script_line_start(void); |
| 87 | void script_line_exec(void); |
| 88 | void script_line_end(void); |
| 89 | void ex_scriptencoding(exarg_T *eap); |
Bram Moolenaar | 558ca4a | 2019-04-04 18:15:38 +0200 | [diff] [blame] | 90 | void ex_scriptversion(exarg_T *eap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 91 | void ex_finish(exarg_T *eap); |
| 92 | void do_finish(exarg_T *eap, int reanimate); |
Bram Moolenaar | e96a249 | 2019-06-25 04:12:16 +0200 | [diff] [blame] | 93 | int source_finished(char_u *(*fgetline)(int, void *, int, int), void *cookie); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 94 | void ex_checktime(exarg_T *eap); |
| 95 | char_u *get_mess_lang(void); |
| 96 | void set_lang_var(void); |
| 97 | void ex_language(exarg_T *eap); |
| 98 | void free_locales(void); |
| 99 | char_u *get_lang_arg(expand_T *xp, int idx); |
| 100 | char_u *get_locales(expand_T *xp, int idx); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 101 | /* vim: set ft=c : */ |