buffheader_T is used for the stuff buffer and the redo buffer. typedef struct buffblock buffblock_T;
typedef struct buffheader buffheader_T;
struct buffheader
{
buffblock_T bh_first; // first (dummy) block of list
buffblock_T *bh_curr; // buffblock for appending
int bh_index; // index for reading
int bh_space; // space in bh_curr for appending
};
getchar.c.