File: lowbuf.h

package info (click to toggle)
elvis 2.1.4-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,528 kB
  • ctags: 6,177
  • sloc: ansic: 57,188; sh: 1,026; makefile: 299
file content (19 lines) | stat: -rw-r--r-- 995 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* lowbuf.h */
/* Copyright 1995 by Steve Kirkendall */


/* Create a new buffer in the session file */
BEGIN_EXTERNC
extern void	lowinit P_((void (*bufproc)(_BLKNO_ bufinfo, long nchars, long nlines, long changes, long prevloc, CHAR *name)));
extern BLKNO	lowalloc P_((char *name));
extern BLKNO	lowdup P_((_BLKNO_ originfo));
extern void	lowfree P_((_BLKNO_ bufinfo));
extern void	lowtitle P_((_BLKNO_ bufinfo, CHAR *title));
extern long	lowline P_((_BLKNO_ bufinfo, long lineno));
extern BLKNO	lowoffset P_((_BLKNO_ bufinfo, long offset, COUNT *left, COUNT *right, LBLKNO *lptr, long *linenum));
extern long	lowdelete P_((_BLKNO_ dst, long dsttop, long dstbottom));
extern long	lowinsert P_((_BLKNO_ dst, long dsttop, CHAR *newp, long newlen));
extern long	lowreplace P_((_BLKNO_ dst, long dsttop, long dstbottom, CHAR *newp, long newlen));
extern long	lowpaste P_((_BLKNO_ dst, long dsttop, _BLKNO_ src, long srctop, long srcbottom));
extern void	lowflush P_((_BLKNO_ bufinfo));
END_EXTERNC