#include "config.h"#include "vi.h"Include dependency graph for blk.c:

Go to the source code of this file.
Data Structures | |
| struct | _blkbuf |
Defines | |
| #define | NBUFS 5 |
Functions | |
| void | blkinit () |
| BLK * | blkget (int logical) |
| void | blkflush (REG struct _blkbuf *this) |
| void | blkdirty (BLK *bp) |
| BLK * | blkadd (int logical) |
| void | blksync () |
| void | beforedo (int forundo) |
| void | afterdo () |
| void | abortdo () |
| int | undo () |
Variables | |
| BLK | hdr |
| static int | b4cnt |
| static struct _blkbuf | blk [NBUFS] |
| static struct _blkbuf * | toonew [NBUFS] |
| static struct _blkbuf * | newtoo [NBUFS] |
| static struct _blkbuf * | recycle [NBUFS] |
| static MARK | undocurs |
| static long | oldnlines |
| static long | oldlnum [MAXBLKS] |
|
|
Definition at line 19 of file blk.c. Referenced by blkdirty(), blkget(), blkinit(), and blksync(). |
|
|
Definition at line 414 of file blk.c. References afterdo(), b4cnt, FALSE, MARK_UNSET, MODE_COLON, MODE_VI, and redraw(). Referenced by trapint(). |
|
|
Definition at line 378 of file blk.c. References b4cnt, cursor, MARK_LAST, markline, MODIFIED, nlines, setflag, significant, and UNDOABLE. |
|
|
Definition at line 322 of file blk.c. References b4cnt, BLKSIZE, blksync(), BLK::c, garbage(), i, L, lnum, lseek, MAXBLKS, msg, nlines, REG, and write. |
|
|
|
|
|
Definition at line 174 of file blk.c. References blk, _blkbuf::buf, DEBUG, i, j, k, msg, NBUFS, and REG. Referenced by blkflush(). |
|
|
Definition at line 134 of file blk.c. References allocate(), blkdirty(), BLKSIZE, dirty, FALSE, L, _blkbuf::logical, lseek, msg, BLK::n, and write. Referenced by blksync(). |
|
|
Definition at line 60 of file blk.c. References blk, _blkbuf::buf, i, NBUFS, newtoo, REG, and toonew. Referenced by change(), fetchline(), and tmpsave(). |
|
|
Definition at line 44 of file blk.c. References blk, _blkbuf::dirty, FALSE, i, and NBUFS. Referenced by tmpabort(), and undo(). |
|
|
Definition at line 297 of file blk.c. References blk, blkflush(), i, and NBUFS. Referenced by beforedo(). |
|
|
Definition at line 435 of file blk.c. References afterdo(), beforedo(), blkinit(), BLKSIZE, BLK::c, changes, cursor, FALSE, L, lseek, msg, read, significant, tmpfd, TRUE, tstflag, UNDOABLE, and undocurs. Referenced by cmd_undo(), and v_undo(). |
|
|
Definition at line 27 of file blk.c. Referenced by abortdo(), afterdo(), and beforedo(). |
|
|
Referenced by add(), add_z_1(), add_z_2(), blk_ok(), blkdirty(), blkget(), blkinit(), blksync(), change(), delete(), file_vir2sec(), main(), proc_ind(), rw_inode(), and set_bit(). |
|
|
|
|
|
Referenced by blkget(). |
|
|
|
|
|
Definition at line 315 of file blk.c. Referenced by cmd_substitute(), and fillkeybuf(). |
|
|
|
|
|
Referenced by blkget(). |
|
|
Definition at line 314 of file blk.c. Referenced by undo(). |
1.4.6