version 1.142, 2015/03/16 13:47:48 |
version 1.143, 2015/03/19 21:22:15 |
|
|
* per-terminal definitions are in special header files. |
* per-terminal definitions are in special header files. |
*/ |
*/ |
|
|
#include "sysdef.h" /* Order is critical. */ |
|
#include "ttydef.h" |
|
#include "chrdef.h" |
#include "chrdef.h" |
|
#include "ttydef.h" |
|
|
typedef int (*PF)(int, int); /* generally useful type */ |
typedef int (*PF)(int, int); /* generally useful type */ |
|
|
|
|
#define MAX_TOKEN 64 |
#define MAX_TOKEN 64 |
|
|
/* |
/* |
|
* Previously from sysdef.h |
|
*/ |
|
typedef int RSIZE; /* Type for file/region sizes */ |
|
typedef short KCHAR; /* Type for internal keystrokes */ |
|
|
|
/* |
* This structure holds the starting position |
* This structure holds the starting position |
* (as a line/offset pair) and the number of characters in a |
* (as a line/offset pair) and the number of characters in a |
* region of a buffer. This makes passing the specification |
* region of a buffer. This makes passing the specification |
|
|
|
|
struct undo_rec; |
struct undo_rec; |
TAILQ_HEAD(undoq, undo_rec); |
TAILQ_HEAD(undoq, undo_rec); |
|
|
|
/* |
|
* Previously from sysdef.h |
|
* Only used in struct buffer. |
|
*/ |
|
struct fileinfo { |
|
uid_t fi_uid; |
|
gid_t fi_gid; |
|
mode_t fi_mode; |
|
struct timespec fi_mtime; /* Last modified time */ |
|
}; |
|
|
/* |
/* |
* Text is kept in buffers. A buffer header, described |
* Text is kept in buffers. A buffer header, described |