port to new kvm
[unix-history] / usr / src / usr.bin / window / xx.h
CommitLineData
a8577ffd
EW
1/*
2 * Copyright (c) 1989 Regents of the University of California.
3 * All rights reserved.
4 *
3dd3a9e5
KB
5 * This code is derived from software contributed to Berkeley by
6 * Edward Wang at The University of California, Berkeley.
7 *
87f529ec 8 * %sccs.include.redist.c%
a8577ffd 9 *
3dd3a9e5 10 * @(#)xx.h 3.5 (Berkeley) %G%
a8577ffd
EW
11 */
12
13struct xx {
d9375810
EW
14 enum { xc_move, xc_scroll, xc_inschar, xc_insspace, xc_delchar,
15 xc_clear, xc_clreos, xc_clreol, xc_write } cmd;
a8577ffd
EW
16 int arg0;
17 int arg1;
18 int arg2;
19 int arg3;
20 char *buf;
21 struct xx *link;
22};
23
24struct xx *xxalloc();
25
26struct xx *xx_head, *xx_tail;
27struct xx *xx_freelist;
28
29char *xxbuf, *xxbufp, *xxbufe;
30int xxbufsize;
0ab446d2
EW
31
32#define char_sep '\0'