1/* buffer.c */ 2int open_buffer __ARGS((int read_stdin, exarg_T *eap)); 3int buf_valid __ARGS((buf_T *buf)); 4void close_buffer __ARGS((win_T *win, buf_T *buf, int action)); 5void buf_clear_file __ARGS((buf_T *buf)); 6void buf_freeall __ARGS((buf_T *buf, int del_buf, int wipe_buf)); 7void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count)); 8void handle_swap_exists __ARGS((buf_T *old_curbuf)); 9char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit)); 10int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); 11void set_curbuf __ARGS((buf_T *buf, int action)); 12void enter_buffer __ARGS((buf_T *buf)); 13buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags)); 14void free_buf_options __ARGS((buf_T *buf, int free_p_ff)); 15int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit)); 16void buflist_getfpos __ARGS((void)); 17buf_T *buflist_findname __ARGS((char_u *ffname)); 18int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode)); 19int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options)); 20buf_T *buflist_findnr __ARGS((int nr)); 21char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail)); 22void get_winopts __ARGS((buf_T *buf)); 23pos_T *buflist_findfpos __ARGS((buf_T *buf)); 24linenr_T buflist_findlnum __ARGS((buf_T *buf)); 25void buflist_list __ARGS((exarg_T *eap)); 26int buflist_name_nr __ARGS((int fnum, char_u **fname, linenr_T *lnum)); 27int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int message)); 28void buf_name_changed __ARGS((buf_T *buf)); 29buf_T *setaltfname __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum)); 30char_u *getaltfname __ARGS((int errmsg)); 31int buflist_add __ARGS((char_u *fname, int flags)); 32void buflist_slash_adjust __ARGS((void)); 33void buflist_altfpos __ARGS((void)); 34int otherfile __ARGS((char_u *ffname)); 35void buf_setino __ARGS((buf_T *buf)); 36void fileinfo __ARGS((int fullname, int shorthelp, int dont_truncate)); 37void col_print __ARGS((char_u *buf, int col, int vcol)); 38void maketitle __ARGS((void)); 39void resettitle __ARGS((void)); 40int build_stl_str_hl __ARGS((win_T *wp, char_u *out, size_t outlen, char_u *fmt, int fillchar, int maxwidth, struct stl_hlrec *hl)); 41void get_rel_pos __ARGS((win_T *wp, char_u *str)); 42int append_arg_number __ARGS((win_T *wp, char_u *buf, int add_file, int maxlen)); 43char_u *fix_fname __ARGS((char_u *fname)); 44void fname_expand __ARGS((buf_T *buf, char_u **ffname, char_u **sfname)); 45char_u *alist_name __ARGS((aentry_T *aep)); 46void do_arg_all __ARGS((int count, int forceit)); 47void ex_buffer_all __ARGS((exarg_T *eap)); 48void do_modelines __ARGS((int win_only)); 49int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing)); 50void write_viminfo_bufferlist __ARGS((FILE *fp)); 51char *buf_spname __ARGS((buf_T *buf)); 52void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr)); 53int buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr)); 54int_u buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type)); 55linenr_T buf_delsign __ARGS((buf_T *buf, int id)); 56int buf_findsign __ARGS((buf_T *buf, int id)); 57int buf_findsign_id __ARGS((buf_T *buf, linenr_T lnum)); 58int buf_findsigntype_id __ARGS((buf_T *buf, linenr_T lnum, int typenr)); 59int buf_signcount __ARGS((buf_T *buf, linenr_T lnum)); 60void buf_delete_all_signs __ARGS((void)); 61void sign_list_placed __ARGS((buf_T *rbuf)); 62void sign_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after)); 63void set_buflisted __ARGS((int on)); 64int buf_contents_changed __ARGS((buf_T *buf)); 65void wipe_buffer __ARGS((buf_T *buf, int aucmd)); 66/* vim: set ft=c : */ 67