diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-30 18:54:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-30 18:54:39 +0000 |
commit | c9b4b05b3544b434730eb218e848a1a441d5ffb2 (patch) | |
tree | c1550ddf398d2030ed25ee98e8342fcb41ac1c87 /src/proto | |
parent | aa35dd1667c5903cdcc32ebe10f27bc6683c68a1 (diff) | |
download | vim-git-c9b4b05b3544b434730eb218e848a1a441d5ffb2.tar.gz |
updated for version 7.0gv7.0g
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/buffer.pro | 134 | ||||
-rw-r--r-- | src/proto/charset.pro | 108 | ||||
-rw-r--r-- | src/proto/ex_getln.pro | 108 | ||||
-rw-r--r-- | src/proto/getchar.pro | 126 | ||||
-rw-r--r-- | src/proto/normal.pro | 48 | ||||
-rw-r--r-- | src/proto/ops.pro | 118 | ||||
-rw-r--r-- | src/proto/window.pro | 120 |
7 files changed, 381 insertions, 381 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro index 91934432d..9da8c3e6e 100644 --- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -1,69 +1,69 @@ /* buffer.c */ -int open_buffer __ARGS((int read_stdin, exarg_T *eap)); -int buf_valid __ARGS((buf_T *buf)); -void close_buffer __ARGS((win_T *win, buf_T *buf, int action)); -void buf_clear_file __ARGS((buf_T *buf)); -void buf_freeall __ARGS((buf_T *buf, int del_buf, int wipe_buf)); -void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count)); -void handle_swap_exists __ARGS((buf_T *old_curbuf)); -char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit)); -int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); -void set_curbuf __ARGS((buf_T *buf, int action)); -void enter_buffer __ARGS((buf_T *buf)); -buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags)); -void free_buf_options __ARGS((buf_T *buf, int free_p_ff)); -int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit)); -void buflist_getfpos __ARGS((void)); -buf_T *buflist_findname_exp __ARGS((char_u *fname)); -buf_T *buflist_findname __ARGS((char_u *ffname)); -int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode)); -int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options)); -buf_T *buflist_findnr __ARGS((int nr)); -char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail)); -void get_winopts __ARGS((buf_T *buf)); -pos_T *buflist_findfpos __ARGS((buf_T *buf)); -linenr_T buflist_findlnum __ARGS((buf_T *buf)); -void buflist_list __ARGS((exarg_T *eap)); -int buflist_name_nr __ARGS((int fnum, char_u **fname, linenr_T *lnum)); -int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int message)); -void buf_set_name __ARGS((int fnum, char_u *name)); -void buf_name_changed __ARGS((buf_T *buf)); -buf_T *setaltfname __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum)); -char_u *getaltfname __ARGS((int errmsg)); -int buflist_add __ARGS((char_u *fname, int flags)); -void buflist_slash_adjust __ARGS((void)); -void buflist_altfpos __ARGS((void)); -int otherfile __ARGS((char_u *ffname)); -void buf_setino __ARGS((buf_T *buf)); -void fileinfo __ARGS((int fullname, int shorthelp, int dont_truncate)); -void col_print __ARGS((char_u *buf, int col, int vcol)); -void maketitle __ARGS((void)); -void resettitle __ARGS((void)); -void free_titles __ARGS((void)); -int build_stl_str_hl __ARGS((win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, struct stl_hlrec *hltab, struct stl_hlrec *tabtab)); -void get_rel_pos __ARGS((win_T *wp, char_u *str)); -int append_arg_number __ARGS((win_T *wp, char_u *buf, int add_file, int maxlen)); -char_u *fix_fname __ARGS((char_u *fname)); -void fname_expand __ARGS((buf_T *buf, char_u **ffname, char_u **sfname)); -char_u *alist_name __ARGS((aentry_T *aep)); -void do_arg_all __ARGS((int count, int forceit, int keep_tabs)); -void ex_buffer_all __ARGS((exarg_T *eap)); -void do_modelines __ARGS((int flags)); -int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing)); -void write_viminfo_bufferlist __ARGS((FILE *fp)); -char *buf_spname __ARGS((buf_T *buf)); -void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr)); -int buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr)); -int_u buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type)); -linenr_T buf_delsign __ARGS((buf_T *buf, int id)); -int buf_findsign __ARGS((buf_T *buf, int id)); -int buf_findsign_id __ARGS((buf_T *buf, linenr_T lnum)); -int buf_findsigntype_id __ARGS((buf_T *buf, linenr_T lnum, int typenr)); -int buf_signcount __ARGS((buf_T *buf, linenr_T lnum)); -void buf_delete_all_signs __ARGS((void)); -void sign_list_placed __ARGS((buf_T *rbuf)); -void sign_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after)); -void set_buflisted __ARGS((int on)); -int buf_contents_changed __ARGS((buf_T *buf)); -void wipe_buffer __ARGS((buf_T *buf, int aucmd)); +extern int open_buffer __ARGS((int read_stdin, exarg_T *eap)); +extern int buf_valid __ARGS((buf_T *buf)); +extern void close_buffer __ARGS((win_T *win, buf_T *buf, int action)); +extern void buf_clear_file __ARGS((buf_T *buf)); +extern void buf_freeall __ARGS((buf_T *buf, int del_buf, int wipe_buf)); +extern void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count)); +extern void handle_swap_exists __ARGS((buf_T *old_curbuf)); +extern char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit)); +extern int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); +extern void set_curbuf __ARGS((buf_T *buf, int action)); +extern void enter_buffer __ARGS((buf_T *buf)); +extern buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags)); +extern void free_buf_options __ARGS((buf_T *buf, int free_p_ff)); +extern int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit)); +extern void buflist_getfpos __ARGS((void)); +extern buf_T *buflist_findname_exp __ARGS((char_u *fname)); +extern buf_T *buflist_findname __ARGS((char_u *ffname)); +extern int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode)); +extern int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options)); +extern buf_T *buflist_findnr __ARGS((int nr)); +extern char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail)); +extern void get_winopts __ARGS((buf_T *buf)); +extern pos_T *buflist_findfpos __ARGS((buf_T *buf)); +extern linenr_T buflist_findlnum __ARGS((buf_T *buf)); +extern void buflist_list __ARGS((exarg_T *eap)); +extern int buflist_name_nr __ARGS((int fnum, char_u **fname, linenr_T *lnum)); +extern int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int message)); +extern void buf_set_name __ARGS((int fnum, char_u *name)); +extern void buf_name_changed __ARGS((buf_T *buf)); +extern buf_T *setaltfname __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum)); +extern char_u *getaltfname __ARGS((int errmsg)); +extern int buflist_add __ARGS((char_u *fname, int flags)); +extern void buflist_slash_adjust __ARGS((void)); +extern void buflist_altfpos __ARGS((void)); +extern int otherfile __ARGS((char_u *ffname)); +extern void buf_setino __ARGS((buf_T *buf)); +extern void fileinfo __ARGS((int fullname, int shorthelp, int dont_truncate)); +extern void col_print __ARGS((char_u *buf, int col, int vcol)); +extern void maketitle __ARGS((void)); +extern void resettitle __ARGS((void)); +extern void free_titles __ARGS((void)); +extern int build_stl_str_hl __ARGS((win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, struct stl_hlrec *hltab, struct stl_hlrec *tabtab)); +extern void get_rel_pos __ARGS((win_T *wp, char_u *str)); +extern int append_arg_number __ARGS((win_T *wp, char_u *buf, int add_file, int maxlen)); +extern char_u *fix_fname __ARGS((char_u *fname)); +extern void fname_expand __ARGS((buf_T *buf, char_u **ffname, char_u **sfname)); +extern char_u *alist_name __ARGS((aentry_T *aep)); +extern void do_arg_all __ARGS((int count, int forceit, int keep_tabs)); +extern void ex_buffer_all __ARGS((exarg_T *eap)); +extern void do_modelines __ARGS((int flags)); +extern int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing)); +extern void write_viminfo_bufferlist __ARGS((FILE *fp)); +extern char *buf_spname __ARGS((buf_T *buf)); +extern void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr)); +extern int buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr)); +extern int_u buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type)); +extern linenr_T buf_delsign __ARGS((buf_T *buf, int id)); +extern int buf_findsign __ARGS((buf_T *buf, int id)); +extern int buf_findsign_id __ARGS((buf_T *buf, linenr_T lnum)); +extern int buf_findsigntype_id __ARGS((buf_T *buf, linenr_T lnum, int typenr)); +extern int buf_signcount __ARGS((buf_T *buf, linenr_T lnum)); +extern void buf_delete_all_signs __ARGS((void)); +extern void sign_list_placed __ARGS((buf_T *rbuf)); +extern void sign_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after)); +extern void set_buflisted __ARGS((int on)); +extern int buf_contents_changed __ARGS((buf_T *buf)); +extern void wipe_buffer __ARGS((buf_T *buf, int aucmd)); /* vim: set ft=c : */ diff --git a/src/proto/charset.pro b/src/proto/charset.pro index 4b6890d18..a6f480262 100644 --- a/src/proto/charset.pro +++ b/src/proto/charset.pro @@ -1,56 +1,56 @@ /* charset.c */ -int init_chartab __ARGS((void)); -int buf_init_chartab __ARGS((buf_T *buf, int global)); -void trans_characters __ARGS((char_u *buf, int bufsize)); -char_u *transstr __ARGS((char_u *s)); -char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen)); -char_u *transchar __ARGS((int c)); -char_u *transchar_byte __ARGS((int c)); -void transchar_nonprint __ARGS((char_u *buf, int c)); -void transchar_hex __ARGS((char_u *buf, int c)); -int byte2cells __ARGS((int b)); -int char2cells __ARGS((int c)); -int ptr2cells __ARGS((char_u *p)); -int vim_strsize __ARGS((char_u *s)); -int vim_strnsize __ARGS((char_u *s, int len)); -int chartabsize __ARGS((char_u *p, colnr_T col)); -int linetabsize __ARGS((char_u *s)); -int win_linetabsize __ARGS((win_T *wp, char_u *p, colnr_T len)); -int vim_isIDc __ARGS((int c)); -int vim_iswordc __ARGS((int c)); -int vim_iswordp __ARGS((char_u *p)); -int vim_iswordc_buf __ARGS((char_u *p, buf_T *buf)); -int vim_isfilec __ARGS((int c)); -int vim_isprintc __ARGS((int c)); -int vim_isprintc_strict __ARGS((int c)); -int lbr_chartabsize __ARGS((unsigned char *s, colnr_T col)); -int lbr_chartabsize_adv __ARGS((char_u **s, colnr_T col)); -int win_lbr_chartabsize __ARGS((win_T *wp, char_u *s, colnr_T col, int *headp)); -int in_win_border __ARGS((win_T *wp, colnr_T vcol)); -void getvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end)); -colnr_T getvcol_nolist __ARGS((pos_T *posp)); -void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end)); -void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right)); -char_u *skipwhite __ARGS((char_u *p)); -char_u *skipdigits __ARGS((char_u *p)); -char_u *skiphex __ARGS((char_u *p)); -char_u *skiptodigit __ARGS((char_u *p)); -char_u *skiptohex __ARGS((char_u *p)); -int vim_isdigit __ARGS((int c)); -int vim_isxdigit __ARGS((int c)); -int vim_islower __ARGS((int c)); -int vim_isupper __ARGS((int c)); -int vim_toupper __ARGS((int c)); -int vim_tolower __ARGS((int c)); -char_u *skiptowhite __ARGS((char_u *p)); -char_u *skiptowhite_esc __ARGS((char_u *p)); -long getdigits __ARGS((char_u **pp)); -int vim_isblankline __ARGS((char_u *lbuf)); -void vim_str2nr __ARGS((char_u *start, int *hexp, int *len, int dooct, int dohex, long *nptr, unsigned long *unptr)); -int hex2nr __ARGS((int c)); -int hexhex2nr __ARGS((char_u *p)); -int rem_backslash __ARGS((char_u *str)); -void backslash_halve __ARGS((char_u *p)); -char_u *backslash_halve_save __ARGS((char_u *p)); -void ebcdic2ascii __ARGS((char_u *buffer, int len)); +extern int init_chartab __ARGS((void)); +extern int buf_init_chartab __ARGS((buf_T *buf, int global)); +extern void trans_characters __ARGS((char_u *buf, int bufsize)); +extern char_u *transstr __ARGS((char_u *s)); +extern char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen)); +extern char_u *transchar __ARGS((int c)); +extern char_u *transchar_byte __ARGS((int c)); +extern void transchar_nonprint __ARGS((char_u *buf, int c)); +extern void transchar_hex __ARGS((char_u *buf, int c)); +extern int byte2cells __ARGS((int b)); +extern int char2cells __ARGS((int c)); +extern int ptr2cells __ARGS((char_u *p)); +extern int vim_strsize __ARGS((char_u *s)); +extern int vim_strnsize __ARGS((char_u *s, int len)); +extern int chartabsize __ARGS((char_u *p, colnr_T col)); +extern int linetabsize __ARGS((char_u *s)); +extern int win_linetabsize __ARGS((win_T *wp, char_u *p, colnr_T len)); +extern int vim_isIDc __ARGS((int c)); +extern int vim_iswordc __ARGS((int c)); +extern int vim_iswordp __ARGS((char_u *p)); +extern int vim_iswordc_buf __ARGS((char_u *p, buf_T *buf)); +extern int vim_isfilec __ARGS((int c)); +extern int vim_isprintc __ARGS((int c)); +extern int vim_isprintc_strict __ARGS((int c)); +extern int lbr_chartabsize __ARGS((unsigned char *s, colnr_T col)); +extern int lbr_chartabsize_adv __ARGS((char_u **s, colnr_T col)); +extern int win_lbr_chartabsize __ARGS((win_T *wp, char_u *s, colnr_T col, int *headp)); +extern int in_win_border __ARGS((win_T *wp, colnr_T vcol)); +extern void getvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end)); +extern colnr_T getvcol_nolist __ARGS((pos_T *posp)); +extern void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end)); +extern void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right)); +extern char_u *skipwhite __ARGS((char_u *p)); +extern char_u *skipdigits __ARGS((char_u *p)); +extern char_u *skiphex __ARGS((char_u *p)); +extern char_u *skiptodigit __ARGS((char_u *p)); +extern char_u *skiptohex __ARGS((char_u *p)); +extern int vim_isdigit __ARGS((int c)); +extern int vim_isxdigit __ARGS((int c)); +extern int vim_islower __ARGS((int c)); +extern int vim_isupper __ARGS((int c)); +extern int vim_toupper __ARGS((int c)); +extern int vim_tolower __ARGS((int c)); +extern char_u *skiptowhite __ARGS((char_u *p)); +extern char_u *skiptowhite_esc __ARGS((char_u *p)); +extern long getdigits __ARGS((char_u **pp)); +extern int vim_isblankline __ARGS((char_u *lbuf)); +extern void vim_str2nr __ARGS((char_u *start, int *hexp, int *len, int dooct, int dohex, long *nptr, unsigned long *unptr)); +extern int hex2nr __ARGS((int c)); +extern int hexhex2nr __ARGS((char_u *p)); +extern int rem_backslash __ARGS((char_u *str)); +extern void backslash_halve __ARGS((char_u *p)); +extern char_u *backslash_halve_save __ARGS((char_u *p)); +extern void ebcdic2ascii __ARGS((char_u *buffer, int len)); /* vim: set ft=c : */ diff --git a/src/proto/ex_getln.pro b/src/proto/ex_getln.pro index f5feb201f..6dd06ff02 100644 --- a/src/proto/ex_getln.pro +++ b/src/proto/ex_getln.pro @@ -1,56 +1,56 @@ /* ex_getln.c */ -char_u *getcmdline __ARGS((int firstc, long count, int indent)); -char_u *getcmdline_prompt __ARGS((int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg)); -int text_locked __ARGS((void)); -void text_locked_msg __ARGS((void)); -int curbuf_locked __ARGS((void)); -char_u *getexline __ARGS((int c, void *dummy, int indent)); -char_u *getexmodeline __ARGS((int promptc, void *dummy, int indent)); -int cmdline_overstrike __ARGS((void)); -int cmdline_at_end __ARGS((void)); -colnr_T cmdline_getvcol_cursor __ARGS((void)); -void free_cmdline_buf __ARGS((void)); -void putcmdline __ARGS((int c, int shift)); -void unputcmdline __ARGS((void)); -int put_on_cmdline __ARGS((char_u *str, int len, int redraw)); -char_u *save_cmdline_alloc __ARGS((void)); -void restore_cmdline_alloc __ARGS((char_u *p)); -void cmdline_paste_str __ARGS((char_u *s, int literally)); -void redrawcmdline __ARGS((void)); -void redrawcmd __ARGS((void)); -void compute_cmdrow __ARGS((void)); -void gotocmdline __ARGS((int clr)); -char_u *ExpandOne __ARGS((expand_T *xp, char_u *str, char_u *orig, int options, int mode)); -void ExpandInit __ARGS((expand_T *xp)); -void ExpandCleanup __ARGS((expand_T *xp)); -void ExpandEscape __ARGS((expand_T *xp, char_u *str, int numfiles, char_u **files, int options)); -void tilde_replace __ARGS((char_u *orig_pat, int num_files, char_u **files)); -char_u *sm_gettail __ARGS((char_u *s)); -char_u *addstar __ARGS((char_u *fname, int len, int context)); -void set_cmd_context __ARGS((expand_T *xp, char_u *str, int len, int col)); -int expand_cmdline __ARGS((expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches)); -int ExpandGeneric __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)))); -char_u *globpath __ARGS((char_u *path, char_u *file)); -void init_history __ARGS((void)); -int get_histtype __ARGS((char_u *name)); -void add_to_history __ARGS((int histype, char_u *new_entry, int in_map, int sep)); -int get_history_idx __ARGS((int histype)); -char_u *get_cmdline_str __ARGS((void)); -int get_cmdline_pos __ARGS((void)); -int set_cmdline_pos __ARGS((int pos)); -int get_cmdline_type __ARGS((void)); -char_u *get_history_entry __ARGS((int histype, int idx)); -int clr_history __ARGS((int histype)); -int del_history_entry __ARGS((int histype, char_u *str)); -int del_history_idx __ARGS((int histype, int idx)); -void remove_key_from_history __ARGS((void)); -int get_list_range __ARGS((char_u **str, int *num1, int *num2)); -void ex_history __ARGS((exarg_T *eap)); -void prepare_viminfo_history __ARGS((int asklen)); -int read_viminfo_history __ARGS((vir_T *virp)); -void finish_viminfo_history __ARGS((void)); -void write_viminfo_history __ARGS((FILE *fp)); -void cmd_pchar __ARGS((int c, int offset)); -int cmd_gchar __ARGS((int offset)); -char_u *script_get __ARGS((exarg_T *eap, char_u *cmd)); +extern char_u *getcmdline __ARGS((int firstc, long count, int indent)); +extern char_u *getcmdline_prompt __ARGS((int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg)); +extern int text_locked __ARGS((void)); +extern void text_locked_msg __ARGS((void)); +extern int curbuf_locked __ARGS((void)); +extern char_u *getexline __ARGS((int c, void *dummy, int indent)); +extern char_u *getexmodeline __ARGS((int promptc, void *dummy, int indent)); +extern int cmdline_overstrike __ARGS((void)); +extern int cmdline_at_end __ARGS((void)); +extern colnr_T cmdline_getvcol_cursor __ARGS((void)); +extern void free_cmdline_buf __ARGS((void)); +extern void putcmdline __ARGS((int c, int shift)); +extern void unputcmdline __ARGS((void)); +extern int put_on_cmdline __ARGS((char_u *str, int len, int redraw)); +extern char_u *save_cmdline_alloc __ARGS((void)); +extern void restore_cmdline_alloc __ARGS((char_u *p)); +extern void cmdline_paste_str __ARGS((char_u *s, int literally)); +extern void redrawcmdline __ARGS((void)); +extern void redrawcmd __ARGS((void)); +extern void compute_cmdrow __ARGS((void)); +extern void gotocmdline __ARGS((int clr)); +extern char_u *ExpandOne __ARGS((expand_T *xp, char_u *str, char_u *orig, int options, int mode)); +extern void ExpandInit __ARGS((expand_T *xp)); +extern void ExpandCleanup __ARGS((expand_T *xp)); +extern void ExpandEscape __ARGS((expand_T *xp, char_u *str, int numfiles, char_u **files, int options)); +extern void tilde_replace __ARGS((char_u *orig_pat, int num_files, char_u **files)); +extern char_u *sm_gettail __ARGS((char_u *s)); +extern char_u *addstar __ARGS((char_u *fname, int len, int context)); +extern void set_cmd_context __ARGS((expand_T *xp, char_u *str, int len, int col)); +extern int expand_cmdline __ARGS((expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches)); +extern int ExpandGeneric __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)))); +extern char_u *globpath __ARGS((char_u *path, char_u *file)); +extern void init_history __ARGS((void)); +extern int get_histtype __ARGS((char_u *name)); +extern void add_to_history __ARGS((int histype, char_u *new_entry, int in_map, int sep)); +extern int get_history_idx __ARGS((int histype)); +extern char_u *get_cmdline_str __ARGS((void)); +extern int get_cmdline_pos __ARGS((void)); +extern int set_cmdline_pos __ARGS((int pos)); +extern int get_cmdline_type __ARGS((void)); +extern char_u *get_history_entry __ARGS((int histype, int idx)); +extern int clr_history __ARGS((int histype)); +extern int del_history_entry __ARGS((int histype, char_u *str)); +extern int del_history_idx __ARGS((int histype, int idx)); +extern void remove_key_from_history __ARGS((void)); +extern int get_list_range __ARGS((char_u **str, int *num1, int *num2)); +extern void ex_history __ARGS((exarg_T *eap)); +extern void prepare_viminfo_history __ARGS((int asklen)); +extern int read_viminfo_history __ARGS((vir_T *virp)); +extern void finish_viminfo_history __ARGS((void)); +extern void write_viminfo_history __ARGS((FILE *fp)); +extern void cmd_pchar __ARGS((int c, int offset)); +extern int cmd_gchar __ARGS((int offset)); +extern char_u *script_get __ARGS((exarg_T *eap, char_u *cmd)); /* vim: set ft=c : */ diff --git a/src/proto/getchar.pro b/src/proto/getchar.pro index 7183eaf20..b1f02fa08 100644 --- a/src/proto/getchar.pro +++ b/src/proto/getchar.pro @@ -1,65 +1,65 @@ /* getchar.c */ -void free_buff __ARGS((struct buffheader *buf)); -char_u *get_recorded __ARGS((void)); -char_u *get_inserted __ARGS((void)); -int stuff_empty __ARGS((void)); -void typeahead_noflush __ARGS((int c)); -void flush_buffers __ARGS((int typeahead)); -void ResetRedobuff __ARGS((void)); -void saveRedobuff __ARGS((void)); -void restoreRedobuff __ARGS((void)); -void AppendToRedobuff __ARGS((char_u *s)); -void AppendToRedobuffLit __ARGS((char_u *str, int len)); -void AppendCharToRedobuff __ARGS((int c)); -void AppendNumberToRedobuff __ARGS((long n)); -void stuffReadbuff __ARGS((char_u *s)); -void stuffReadbuffLen __ARGS((char_u *s, long len)); -void stuffReadbuffSpec __ARGS((char_u *s)); -void stuffcharReadbuff __ARGS((int c)); -void stuffnumReadbuff __ARGS((long n)); -int start_redo __ARGS((long count, int old_redo)); -int start_redo_ins __ARGS((void)); -void stop_redo_ins __ARGS((void)); -int ins_typebuf __ARGS((char_u *str, int noremap, int offset, int nottyped, int silent)); -void ins_char_typebuf __ARGS((int c)); -int typebuf_changed __ARGS((int tb_change_cnt)); -int typebuf_typed __ARGS((void)); -int typebuf_maplen __ARGS((void)); -void del_typebuf __ARGS((int len, int offset)); -int alloc_typebuf __ARGS((void)); -void free_typebuf __ARGS((void)); -int save_typebuf __ARGS((void)); -void save_typeahead __ARGS((tasave_T *tp)); -void restore_typeahead __ARGS((tasave_T *tp)); -void openscript __ARGS((char_u *name, int directly)); -void close_all_scripts __ARGS((void)); -int using_script __ARGS((void)); -void before_blocking __ARGS((void)); -void updatescript __ARGS((int c)); -int vgetc __ARGS((void)); -int safe_vgetc __ARGS((void)); -int vpeekc __ARGS((void)); -int vpeekc_nomap __ARGS((void)); -int vpeekc_any __ARGS((void)); -int char_avail __ARGS((void)); -void vungetc __ARGS((int c)); -int inchar __ARGS((char_u *buf, int maxlen, long wait_time, int tb_change_cnt)); -int fix_input_buffer __ARGS((char_u *buf, int len, int script)); -int input_available __ARGS((void)); -int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev)); -int get_map_mode __ARGS((char_u **cmdp, int forceit)); -void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr)); -void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr)); -int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr)); -int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr)); -char_u *set_context_in_map_cmd __ARGS((expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx)); -int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file)); -int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol)); -char_u *vim_strsave_escape_csi __ARGS((char_u *p)); -int makemap __ARGS((FILE *fd, buf_T *buf)); -int put_escstr __ARGS((FILE *fd, char_u *strstart, int what)); -void check_map_keycodes __ARGS((void)); -char_u *check_map __ARGS((char_u *keys, int mode, int exact, int ign_mod, int abbr)); -void init_mappings __ARGS((void)); -void add_map __ARGS((char_u *map, int mode)); +extern void free_buff __ARGS((struct buffheader *buf)); +extern char_u *get_recorded __ARGS((void)); +extern char_u *get_inserted __ARGS((void)); +extern int stuff_empty __ARGS((void)); +extern void typeahead_noflush __ARGS((int c)); +extern void flush_buffers __ARGS((int typeahead)); +extern void ResetRedobuff __ARGS((void)); +extern void saveRedobuff __ARGS((void)); +extern void restoreRedobuff __ARGS((void)); +extern void AppendToRedobuff __ARGS((char_u *s)); +extern void AppendToRedobuffLit __ARGS((char_u *str, int len)); +extern void AppendCharToRedobuff __ARGS((int c)); +extern void AppendNumberToRedobuff __ARGS((long n)); +extern void stuffReadbuff __ARGS((char_u *s)); +extern void stuffReadbuffLen __ARGS((char_u *s, long len)); +extern void stuffReadbuffSpec __ARGS((char_u *s)); +extern void stuffcharReadbuff __ARGS((int c)); +extern void stuffnumReadbuff __ARGS((long n)); +extern int start_redo __ARGS((long count, int old_redo)); +extern int start_redo_ins __ARGS((void)); +extern void stop_redo_ins __ARGS((void)); +extern int ins_typebuf __ARGS((char_u *str, int noremap, int offset, int nottyped, int silent)); +extern void ins_char_typebuf __ARGS((int c)); +extern int typebuf_changed __ARGS((int tb_change_cnt)); +extern int typebuf_typed __ARGS((void)); +extern int typebuf_maplen __ARGS((void)); +extern void del_typebuf __ARGS((int len, int offset)); +extern int alloc_typebuf __ARGS((void)); +extern void free_typebuf __ARGS((void)); +extern int save_typebuf __ARGS((void)); +extern void save_typeahead __ARGS((tasave_T *tp)); +extern void restore_typeahead __ARGS((tasave_T *tp)); +extern void openscript __ARGS((char_u *name, int directly)); +extern void close_all_scripts __ARGS((void)); +extern int using_script __ARGS((void)); +extern void before_blocking __ARGS((void)); +extern void updatescript __ARGS((int c)); +extern int vgetc __ARGS((void)); +extern int safe_vgetc __ARGS((void)); +extern int vpeekc __ARGS((void)); +extern int vpeekc_nomap __ARGS((void)); +extern int vpeekc_any __ARGS((void)); +extern int char_avail __ARGS((void)); +extern void vungetc __ARGS((int c)); +extern int inchar __ARGS((char_u *buf, int maxlen, long wait_time, int tb_change_cnt)); +extern int fix_input_buffer __ARGS((char_u *buf, int len, int script)); +extern int input_available __ARGS((void)); +extern int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev)); +extern int get_map_mode __ARGS((char_u **cmdp, int forceit)); +extern void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr)); +extern void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr)); +extern int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr)); +extern int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr)); +extern char_u *set_context_in_map_cmd __ARGS((expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx)); +extern int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file)); +extern int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol)); +extern char_u *vim_strsave_escape_csi __ARGS((char_u *p)); +extern int makemap __ARGS((FILE *fd, buf_T *buf)); +extern int put_escstr __ARGS((FILE *fd, char_u *strstart, int what)); +extern void check_map_keycodes __ARGS((void)); +extern char_u *check_map __ARGS((char_u *keys, int mode, int exact, int ign_mod, int abbr)); +extern void init_mappings __ARGS((void)); +extern void add_map __ARGS((char_u *map, int mode)); /* vim: set ft=c : */ diff --git a/src/proto/normal.pro b/src/proto/normal.pro index 55e81635e..8280e45d9 100644 --- a/src/proto/normal.pro +++ b/src/proto/normal.pro @@ -1,26 +1,26 @@ /* normal.c */ -void init_normal_cmds __ARGS((void)); -void normal_cmd __ARGS((oparg_T *oap, int toplevel)); -void do_pending_operator __ARGS((cmdarg_T *cap, int old_col, int gui_yank)); -int do_mouse __ARGS((oparg_T *oap, int c, int dir, long count, int fixindent)); -void check_visual_highlight __ARGS((void)); -void end_visual_mode __ARGS((void)); -void reset_VIsual_and_resel __ARGS((void)); -void reset_VIsual __ARGS((void)); -int find_ident_under_cursor __ARGS((char_u **string, int find_type)); -int find_ident_at_pos __ARGS((win_T *wp, linenr_T lnum, colnr_T startcol, char_u **string, int find_type)); -void clear_showcmd __ARGS((void)); -int add_to_showcmd __ARGS((int c)); -void add_to_showcmd_c __ARGS((int c)); -void push_showcmd __ARGS((void)); -void pop_showcmd __ARGS((void)); -void do_check_scrollbind __ARGS((int check)); -void check_scrollbind __ARGS((linenr_T topline_diff, long leftcol_diff)); -int find_decl __ARGS((char_u *ptr, int len, int locally, int thisblock, int searchflags)); -void scroll_redraw __ARGS((int up, long count)); -void handle_tabmenu __ARGS((void)); -void do_nv_ident __ARGS((int c1, int c2)); -int get_visual_text __ARGS((cmdarg_T *cap, char_u **pp, int *lenp)); -void start_selection __ARGS((void)); -void may_start_select __ARGS((int c)); +extern void init_normal_cmds __ARGS((void)); +extern void normal_cmd __ARGS((oparg_T *oap, int toplevel)); +extern void do_pending_operator __ARGS((cmdarg_T *cap, int old_col, int gui_yank)); +extern int do_mouse __ARGS((oparg_T *oap, int c, int dir, long count, int fixindent)); +extern void check_visual_highlight __ARGS((void)); +extern void end_visual_mode __ARGS((void)); +extern void reset_VIsual_and_resel __ARGS((void)); +extern void reset_VIsual __ARGS((void)); +extern int find_ident_under_cursor __ARGS((char_u **string, int find_type)); +extern int find_ident_at_pos __ARGS((win_T *wp, linenr_T lnum, colnr_T startcol, char_u **string, int find_type)); +extern void clear_showcmd __ARGS((void)); +extern int add_to_showcmd __ARGS((int c)); +extern void add_to_showcmd_c __ARGS((int c)); +extern void push_showcmd __ARGS((void)); +extern void pop_showcmd __ARGS((void)); +extern void do_check_scrollbind __ARGS((int check)); +extern void check_scrollbind __ARGS((linenr_T topline_diff, long leftcol_diff)); +extern int find_decl __ARGS((char_u *ptr, int len, int locally, int thisblock, int searchflags)); +extern void scroll_redraw __ARGS((int up, long count)); +extern void handle_tabmenu __ARGS((void)); +extern void do_nv_ident __ARGS((int c1, int c2)); +extern int get_visual_text __ARGS((cmdarg_T *cap, char_u **pp, int *lenp)); +extern void start_selection __ARGS((void)); +extern void may_start_select __ARGS((int c)); /* vim: set ft=c : */ diff --git a/src/proto/ops.pro b/src/proto/ops.pro index d1669a008..d6216b9a8 100644 --- a/src/proto/ops.pro +++ b/src/proto/ops.pro @@ -1,61 +1,61 @@ /* ops.c */ -int get_op_type __ARGS((int char1, int char2)); -int op_on_lines __ARGS((int op)); -int get_op_char __ARGS((int optype)); -int get_extra_op_char __ARGS((int optype)); -void op_shift __ARGS((oparg_T *oap, int curs_top, int amount)); -void shift_line __ARGS((int left, int round, int amount)); -void op_reindent __ARGS((oparg_T *oap, int (*how)(void))); -int get_expr_register __ARGS((void)); -void set_expr_line __ARGS((char_u *new_line)); -char_u *get_expr_line __ARGS((void)); -char_u *get_expr_line_src __ARGS((void)); -int valid_yank_reg __ARGS((int regname, int writing)); -void get_yank_register __ARGS((int regname, int writing)); -int may_get_selection __ARGS((int regname)); -void *get_register __ARGS((int name, int copy)); -void put_register __ARGS((int name, void *reg)); -int yank_register_mline __ARGS((int regname)); -int do_record __ARGS((int c)); -int do_execreg __ARGS((int regname, int colon, int addcr)); -int insert_reg __ARGS((int regname, int literally)); -int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg)); -int cmdline_paste_reg __ARGS((int regname, int literally)); -void adjust_clip_reg __ARGS((int *rp)); -int op_delete __ARGS((oparg_T *oap)); -int op_replace __ARGS((oparg_T *oap, int c)); -void op_tilde __ARGS((oparg_T *oap)); -int swapchar __ARGS((int op_type, pos_T *pos)); -void op_insert __ARGS((oparg_T *oap, long count1)); -int op_change __ARGS((oparg_T *oap)); -void init_yank __ARGS((void)); -void clear_registers __ARGS((void)); -int op_yank __ARGS((oparg_T *oap, int deleting, int mess)); -void do_put __ARGS((int regname, int dir, long count, int flags)); -void adjust_cursor_eol __ARGS((void)); -int preprocs_left __ARGS((void)); -int get_register_name __ARGS((int num)); -void ex_display __ARGS((exarg_T *eap)); -void do_do_join __ARGS((long count, int insert_space)); -int do_join __ARGS((int insert_space)); -void op_format __ARGS((oparg_T *oap, int keep_cursor)); -void op_formatexpr __ARGS((oparg_T *oap)); -int fex_format __ARGS((linenr_T lnum, long count, int c)); -void format_lines __ARGS((linenr_T line_count)); -int paragraph_start __ARGS((linenr_T lnum)); -int do_addsub __ARGS((int command, linenr_T Prenum1)); -int read_viminfo_register __ARGS((vir_T *virp, int force)); -void write_viminfo_registers __ARGS((FILE *fp)); -void x11_export_final_selection __ARGS((void)); -void clip_free_selection __ARGS((VimClipboard *cbd)); -void clip_get_selection __ARGS((VimClipboard *cbd)); -void clip_yank_selection __ARGS((int type, char_u *str, long len, VimClipboard *cbd)); -int clip_convert_selection __ARGS((char_u **str, long_u *len, VimClipboard *cbd)); -void dnd_yank_drag_data __ARGS((char_u *str, long len)); -char_u get_reg_type __ARGS((int regname, long *reglen)); -char_u *get_reg_contents __ARGS((int regname, int allowexpr, int expr_src)); -void write_reg_contents __ARGS((int name, char_u *str, int maxlen, int must_append)); -void write_reg_contents_ex __ARGS((int name, char_u *str, int maxlen, int must_append, int yank_type, long block_len)); -void clear_oparg __ARGS((oparg_T *oap)); -void cursor_pos_info __ARGS((void)); +extern int get_op_type __ARGS((int char1, int char2)); +extern int op_on_lines __ARGS((int op)); +extern int get_op_char __ARGS((int optype)); +extern int get_extra_op_char __ARGS((int optype)); +extern void op_shift __ARGS((oparg_T *oap, int curs_top, int amount)); +extern void shift_line __ARGS((int left, int round, int amount)); +extern void op_reindent __ARGS((oparg_T *oap, int (*how)(void))); +extern int get_expr_register __ARGS((void)); +extern void set_expr_line __ARGS((char_u *new_line)); +extern char_u *get_expr_line __ARGS((void)); +extern char_u *get_expr_line_src __ARGS((void)); +extern int valid_yank_reg __ARGS((int regname, int writing)); +extern void get_yank_register __ARGS((int regname, int writing)); +extern int may_get_selection __ARGS((int regname)); +extern void *get_register __ARGS((int name, int copy)); +extern void put_register __ARGS((int name, void *reg)); +extern int yank_register_mline __ARGS((int regname)); +extern int do_record __ARGS((int c)); +extern int do_execreg __ARGS((int regname, int colon, int addcr)); +extern int insert_reg __ARGS((int regname, int literally)); +extern int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg)); +extern int cmdline_paste_reg __ARGS((int regname, int literally)); +extern void adjust_clip_reg __ARGS((int *rp)); +extern int op_delete __ARGS((oparg_T *oap)); +extern int op_replace __ARGS((oparg_T *oap, int c)); +extern void op_tilde __ARGS((oparg_T *oap)); +extern int swapchar __ARGS((int op_type, pos_T *pos)); +extern void op_insert __ARGS((oparg_T *oap, long count1)); +extern int op_change __ARGS((oparg_T *oap)); +extern void init_yank __ARGS((void)); +extern void clear_registers __ARGS((void)); +extern int op_yank __ARGS((oparg_T *oap, int deleting, int mess)); +extern void do_put __ARGS((int regname, int dir, long count, int flags)); +extern void adjust_cursor_eol __ARGS((void)); +extern int preprocs_left __ARGS((void)); +extern int get_register_name __ARGS((int num)); +extern void ex_display __ARGS((exarg_T *eap)); +extern void do_do_join __ARGS((long count, int insert_space)); +extern int do_join __ARGS((int insert_space)); +extern void op_format __ARGS((oparg_T *oap, int keep_cursor)); +extern void op_formatexpr __ARGS((oparg_T *oap)); +extern int fex_format __ARGS((linenr_T lnum, long count, int c)); +extern void format_lines __ARGS((linenr_T line_count)); +extern int paragraph_start __ARGS((linenr_T lnum)); +extern int do_addsub __ARGS((int command, linenr_T Prenum1)); +extern int read_viminfo_register __ARGS((vir_T *virp, int force)); +extern void write_viminfo_registers __ARGS((FILE *fp)); +extern void x11_export_final_selection __ARGS((void)); +extern void clip_free_selection __ARGS((VimClipboard *cbd)); +extern void clip_get_selection __ARGS((VimClipboard *cbd)); +extern void clip_yank_selection __ARGS((int type, char_u *str, long len, VimClipboard *cbd)); +extern int clip_convert_selection __ARGS((char_u **str, long_u *len, VimClipboard *cbd)); +extern void dnd_yank_drag_data __ARGS((char_u *str, long len)); +extern char_u get_reg_type __ARGS((int regname, long *reglen)); +extern char_u *get_reg_contents __ARGS((int regname, int allowexpr, int expr_src)); +extern void write_reg_contents __ARGS((int name, char_u *str, int maxlen, int must_append)); +extern void write_reg_contents_ex __ARGS((int name, char_u *str, int maxlen, int must_append, int yank_type, long block_len)); +extern void clear_oparg __ARGS((oparg_T *oap)); +extern void cursor_pos_info __ARGS((void)); /* vim: set ft=c : */ diff --git a/src/proto/window.pro b/src/proto/window.pro index 45a90b82a..ad40a527c 100644 --- a/src/proto/window.pro +++ b/src/proto/window.pro @@ -1,62 +1,62 @@ /* window.c */ -void do_window __ARGS((int nchar, long Prenum, int xchar)); -int win_split __ARGS((int size, int flags)); -int win_valid __ARGS((win_T *win)); -int win_count __ARGS((void)); -int make_windows __ARGS((int count, int vertical)); -void win_move_after __ARGS((win_T *win1, win_T *win2)); -void win_equal __ARGS((win_T *next_curwin, int current, int dir)); -void close_windows __ARGS((buf_T *buf, int keep_curwin)); -void win_close __ARGS((win_T *win, int free_buf)); -void win_close_othertab __ARGS((win_T *win, int free_buf, tabpage_T *tp)); -void win_free_all __ARGS((void)); -void close_others __ARGS((int message, int forceit)); -void curwin_init __ARGS((void)); -int win_alloc_first __ARGS((void)); -void win_init_size __ARGS((void)); -void free_tabpage __ARGS((tabpage_T *tp)); -int win_new_tabpage __ARGS((int after)); -int may_open_tabpage __ARGS((void)); -int make_tabpages __ARGS((int maxcount)); -int valid_tabpage __ARGS((tabpage_T *tpc)); -tabpage_T *find_tabpage __ARGS((int n)); -int tabpage_index __ARGS((tabpage_T *ftp)); -void goto_tabpage __ARGS((int n)); -void goto_tabpage_tp __ARGS((tabpage_T *tp)); -void goto_tabpage_win __ARGS((tabpage_T *tp, win_T *wp)); -void tabpage_move __ARGS((int nr)); -void win_goto __ARGS((win_T *wp)); -win_T *win_find_nr __ARGS((int winnr)); -void win_enter __ARGS((win_T *wp, int undo_sync)); -win_T *buf_jump_open_win __ARGS((buf_T *buf)); -win_T *buf_jump_open_tab __ARGS((buf_T *buf)); -int win_alloc_lines __ARGS((win_T *wp)); -void win_free_lsize __ARGS((win_T *wp)); -void shell_new_rows __ARGS((void)); -void shell_new_columns __ARGS((void)); -void win_size_save __ARGS((garray_T *gap)); -void win_size_restore __ARGS((garray_T *gap)); -int win_comp_pos __ARGS((void)); -void win_setheight __ARGS((int height)); -void win_setheight_win __ARGS((int height, win_T *win)); -void win_setwidth __ARGS((int width)); -void win_setwidth_win __ARGS((int width, win_T *wp)); -void win_setminheight __ARGS((void)); -void win_drag_status_line __ARGS((win_T *dragwin, int offset)); -void win_drag_vsep_line __ARGS((win_T *dragwin, int offset)); -void win_comp_scroll __ARGS((win_T *wp)); -void command_height __ARGS((void)); -void last_status __ARGS((int morewin)); -int tabline_height __ARGS((void)); -char_u *grab_file_name __ARGS((long count, linenr_T *file_lnum)); -char_u *file_name_at_cursor __ARGS((int options, long count, linenr_T *file_lnum)); -char_u *file_name_in_line __ARGS((char_u *line, int col, int options, long count, char_u *rel_fname, linenr_T *file_lnum)); -char_u *find_file_name_in_path __ARGS((char_u *ptr, int len, int options, long count, char_u *rel_fname)); -int path_with_url __ARGS((char_u *fname)); -int vim_isAbsName __ARGS((char_u *name)); -int vim_FullName __ARGS((char_u *fname, char_u *buf, int len, int force)); -int min_rows __ARGS((void)); -int only_one_window __ARGS((void)); -void check_lnums __ARGS((int do_curwin)); -int win_hasvertsplit __ARGS((void)); +extern void do_window __ARGS((int nchar, long Prenum, int xchar)); +extern int win_split __ARGS((int size, int flags)); +extern int win_valid __ARGS((win_T *win)); +extern int win_count __ARGS((void)); +extern int make_windows __ARGS((int count, int vertical)); +extern void win_move_after __ARGS((win_T *win1, win_T *win2)); +extern void win_equal __ARGS((win_T *next_curwin, int current, int dir)); +extern void close_windows __ARGS((buf_T *buf, int keep_curwin)); +extern void win_close __ARGS((win_T *win, int free_buf)); +extern void win_close_othertab __ARGS((win_T *win, int free_buf, tabpage_T *tp)); +extern void win_free_all __ARGS((void)); +extern void close_others __ARGS((int message, int forceit)); +extern void curwin_init __ARGS((void)); +extern int win_alloc_first __ARGS((void)); +extern void win_init_size __ARGS((void)); +extern void free_tabpage __ARGS((tabpage_T *tp)); +extern int win_new_tabpage __ARGS((int after)); +extern int may_open_tabpage __ARGS((void)); +extern int make_tabpages __ARGS((int maxcount)); +extern int valid_tabpage __ARGS((tabpage_T *tpc)); +extern tabpage_T *find_tabpage __ARGS((int n)); +extern int tabpage_index __ARGS((tabpage_T *ftp)); +extern void goto_tabpage __ARGS((int n)); +extern void goto_tabpage_tp __ARGS((tabpage_T *tp)); +extern void goto_tabpage_win __ARGS((tabpage_T *tp, win_T *wp)); +extern void tabpage_move __ARGS((int nr)); +extern void win_goto __ARGS((win_T *wp)); +extern win_T *win_find_nr __ARGS((int winnr)); +extern void win_enter __ARGS((win_T *wp, int undo_sync)); +extern win_T *buf_jump_open_win __ARGS((buf_T *buf)); +extern win_T *buf_jump_open_tab __ARGS((buf_T *buf)); +extern int win_alloc_lines __ARGS((win_T *wp)); +extern void win_free_lsize __ARGS((win_T *wp)); +extern void shell_new_rows __ARGS((void)); +extern void shell_new_columns __ARGS((void)); +extern void win_size_save __ARGS((garray_T *gap)); +extern void win_size_restore __ARGS((garray_T *gap)); +extern int win_comp_pos __ARGS((void)); +extern void win_setheight __ARGS((int height)); +extern void win_setheight_win __ARGS((int height, win_T *win)); +extern void win_setwidth __ARGS((int width)); +extern void win_setwidth_win __ARGS((int width, win_T *wp)); +extern void win_setminheight __ARGS((void)); +extern void win_drag_status_line __ARGS((win_T *dragwin, int offset)); +extern void win_drag_vsep_line __ARGS((win_T *dragwin, int offset)); +extern void win_comp_scroll __ARGS((win_T *wp)); +extern void command_height __ARGS((void)); +extern void last_status __ARGS((int morewin)); +extern int tabline_height __ARGS((void)); +extern char_u *grab_file_name __ARGS((long count, linenr_T *file_lnum)); +extern char_u *file_name_at_cursor __ARGS((int options, long count, linenr_T *file_lnum)); +extern char_u *file_name_in_line __ARGS((char_u *line, int col, int options, long count, char_u *rel_fname, linenr_T *file_lnum)); +extern char_u *find_file_name_in_path __ARGS((char_u *ptr, int len, int options, long count, char_u *rel_fname)); +extern int path_with_url __ARGS((char_u *fname)); +extern int vim_isAbsName __ARGS((char_u *name)); +extern int vim_FullName __ARGS((char_u *fname, char_u *buf, int len, int force)); +extern int min_rows __ARGS((void)); +extern int only_one_window __ARGS((void)); +extern void check_lnums __ARGS((int do_curwin)); +extern int win_hasvertsplit __ARGS((void)); /* vim: set ft=c : */ |