2019-08-25 15:41:00 +02:00
|
|
|
/* scriptfile.c */
|
2019-12-29 23:04:25 +01:00
|
|
|
void estack_init(void);
|
|
|
|
|
estack_T *estack_push(etype_T type, char_u *name, long lnum);
|
2020-07-08 15:16:19 +02:00
|
|
|
estack_T *estack_push_ufunc(ufunc_T *ufunc, long lnum);
|
2020-05-25 22:36:50 +02:00
|
|
|
int estack_top_is_ufunc(ufunc_T *ufunc, long lnum);
|
2020-07-08 15:16:19 +02:00
|
|
|
estack_T *estack_pop(void);
|
2020-09-10 19:25:05 +02:00
|
|
|
char_u *estack_sfile(estack_arg_T which);
|
2019-08-25 15:41:00 +02:00
|
|
|
void ex_runtime(exarg_T *eap);
|
2022-03-30 21:12:27 +01:00
|
|
|
int find_script_by_name(char_u *name);
|
|
|
|
|
int get_new_scriptitem_for_fname(int *error, char_u *fname);
|
2019-08-25 15:41:00 +02:00
|
|
|
int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie);
|
|
|
|
|
int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie);
|
|
|
|
|
int source_runtime(char_u *name, int flags);
|
2020-01-26 15:56:19 +01:00
|
|
|
int source_in_path(char_u *path, char_u *name, int flags, int *ret_sid);
|
2022-01-09 21:36:37 +00:00
|
|
|
int find_script_in_rtp(char_u *name);
|
2019-08-25 15:41:00 +02:00
|
|
|
void add_pack_start_dirs(void);
|
|
|
|
|
void load_start_packages(void);
|
|
|
|
|
void ex_packloadall(exarg_T *eap);
|
|
|
|
|
void ex_packadd(exarg_T *eap);
|
2019-09-04 20:59:15 +02:00
|
|
|
void remove_duplicates(garray_T *gap);
|
2019-08-25 15:41:00 +02:00
|
|
|
int ExpandRTDir(char_u *pat, int flags, int *num_file, char_u ***file, char *dirnames[]);
|
|
|
|
|
int ExpandPackAddDir(char_u *pat, int *num_file, char_u ***file);
|
|
|
|
|
void ex_source(exarg_T *eap);
|
|
|
|
|
void ex_options(exarg_T *eap);
|
|
|
|
|
linenr_T *source_breakpoint(void *cookie);
|
|
|
|
|
int *source_dbg_tick(void *cookie);
|
|
|
|
|
int source_level(void *cookie);
|
2020-06-24 18:37:35 +02:00
|
|
|
char_u *source_nextline(void *cookie);
|
2020-01-26 15:56:19 +01:00
|
|
|
int do_source(char_u *fname, int check_other, int is_vimrc, int *ret_sid);
|
2019-08-25 15:41:00 +02:00
|
|
|
void ex_scriptnames(exarg_T *eap);
|
|
|
|
|
void scriptnames_slash_adjust(void);
|
|
|
|
|
char_u *get_scriptname(scid_T id);
|
|
|
|
|
void free_scriptnames(void);
|
2019-09-01 16:01:30 +02:00
|
|
|
void free_autoload_scriptnames(void);
|
2020-08-20 15:02:42 +02:00
|
|
|
linenr_T get_sourced_lnum(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie);
|
2022-08-22 13:15:13 +01:00
|
|
|
void f_getscriptinfo(typval_T *argvars, typval_T *rettv);
|
2020-08-20 15:02:42 +02:00
|
|
|
char_u *getsourceline(int c, void *cookie, int indent, getline_opt_T options);
|
2022-03-21 19:45:17 +00:00
|
|
|
int sourcing_a_script(exarg_T *eap);
|
2019-08-25 15:41:00 +02:00
|
|
|
void ex_scriptencoding(exarg_T *eap);
|
|
|
|
|
void ex_scriptversion(exarg_T *eap);
|
|
|
|
|
void ex_finish(exarg_T *eap);
|
|
|
|
|
void do_finish(exarg_T *eap, int reanimate);
|
2020-08-20 15:02:42 +02:00
|
|
|
int source_finished(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie);
|
2022-01-10 18:08:00 +00:00
|
|
|
char_u *get_autoload_prefix(scriptitem_T *si);
|
2022-01-09 21:36:37 +00:00
|
|
|
char_u *may_prefix_autoload(char_u *name);
|
2019-09-01 16:01:30 +02:00
|
|
|
char_u *autoload_name(char_u *name);
|
|
|
|
|
int script_autoload(char_u *name, int reload);
|
2019-08-25 15:41:00 +02:00
|
|
|
/* vim: set ft=c : */
|