Move canonicalisation flags into their own bitfield with their own accessor and named constants

This commit is contained in:
Paul LeoNerd Evans
2011-08-28 17:50:18 +01:00
parent 7133517883
commit 2638499648
7 changed files with 61 additions and 7 deletions

View File

@@ -33,6 +33,7 @@ struct TermKeyDriverNode {
struct _TermKey {
int fd;
int flags;
int canonflags;
unsigned char *buffer;
size_t buffstart; // First offset in buffer
size_t buffcount; // NUMBER of entires valid in buffer