annotate src/proto/buffer.pro @ 74:1154524da1cd

updated for version 7.0031
author vimboss
date Wed, 05 Jan 2005 22:10:30 +0000
parents c75153d791d0
children e1a8191c6768
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* buffer.c */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 int open_buffer __ARGS((int read_stdin, exarg_T *eap));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 int buf_valid __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 void close_buffer __ARGS((win_T *win, buf_T *buf, int action));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 void buf_clear_file __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 void buf_freeall __ARGS((buf_T *buf, int del_buf, int wipe_buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 void handle_swap_exists __ARGS((buf_T *old_curbuf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 int do_buffer __ARGS((int action, int start, int dir, int count, int forceit));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 void set_curbuf __ARGS((buf_T *buf, int action));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 void enter_buffer __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 void free_buf_options __ARGS((buf_T *buf, int free_p_ff));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 void buflist_getfpos __ARGS((void));
42
c75153d791d0 updated for version 7.0026
vimboss
parents: 41
diff changeset
17 buf_T *buflist_findname_exp __ARGS((char_u *fname));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 buf_T *buflist_findname __ARGS((char_u *ffname));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 buf_T *buflist_findnr __ARGS((int nr));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 void get_winopts __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 pos_T *buflist_findfpos __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 linenr_T buflist_findlnum __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 void buflist_list __ARGS((exarg_T *eap));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 int buflist_name_nr __ARGS((int fnum, char_u **fname, linenr_T *lnum));
42
c75153d791d0 updated for version 7.0026
vimboss
parents: 41
diff changeset
28 int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int exist_msg));
41
f529edb9bab3 updated for version 7.0025
vimboss
parents: 23
diff changeset
29 void buf_set_name __ARGS((int fnum, char_u *name));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 void buf_name_changed __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 buf_T *setaltfname __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 char_u *getaltfname __ARGS((int errmsg));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 int buflist_add __ARGS((char_u *fname, int flags));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 void buflist_slash_adjust __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 void buflist_altfpos __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 int otherfile __ARGS((char_u *ffname));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 void buf_setino __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 void fileinfo __ARGS((int fullname, int shorthelp, int dont_truncate));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 void col_print __ARGS((char_u *buf, int col, int vcol));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 void maketitle __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 void resettitle __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 int 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));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 void get_rel_pos __ARGS((win_T *wp, char_u *str));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 int append_arg_number __ARGS((win_T *wp, char_u *buf, int add_file, int maxlen));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 char_u *fix_fname __ARGS((char_u *fname));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 void fname_expand __ARGS((buf_T *buf, char_u **ffname, char_u **sfname));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 char_u *alist_name __ARGS((aentry_T *aep));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 void do_arg_all __ARGS((int count, int forceit));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 void ex_buffer_all __ARGS((exarg_T *eap));
23
3f44e9abe4ec updated for version 7.0015
vimboss
parents: 7
diff changeset
50 void do_modelines __ARGS((int win_only));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 void write_viminfo_bufferlist __ARGS((FILE *fp));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 char *buf_spname __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 int buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 int_u buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 linenr_T buf_delsign __ARGS((buf_T *buf, int id));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 int buf_findsign __ARGS((buf_T *buf, int id));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 int buf_findsign_id __ARGS((buf_T *buf, linenr_T lnum));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 int buf_findsigntype_id __ARGS((buf_T *buf, linenr_T lnum, int typenr));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 int buf_signcount __ARGS((buf_T *buf, linenr_T lnum));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 void buf_delete_all_signs __ARGS((void));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 void sign_list_placed __ARGS((buf_T *rbuf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 void sign_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 void set_buflisted __ARGS((int on));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 int buf_contents_changed __ARGS((buf_T *buf));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 void wipe_buffer __ARGS((buf_T *buf, int aucmd));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 /* vim: set ft=c : */