aboutsummaryrefslogtreecommitdiff
path: root/termkey-internal.h
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-28 17:50:18 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-28 17:50:18 +0100
commit26384996486963bc2f097f44a82a5c07e0dfe69e (patch)
tree58c7da5748c3a635ff4cb49e419f3153552e6ca6 /termkey-internal.h
parent713351788373e764fc1c66ae1960b36ea6096b02 (diff)
downloadtermo-26384996486963bc2f097f44a82a5c07e0dfe69e.tar.gz
termo-26384996486963bc2f097f44a82a5c07e0dfe69e.tar.xz
termo-26384996486963bc2f097f44a82a5c07e0dfe69e.zip
Move canonicalisation flags into their own bitfield with their own accessor and named constants
Diffstat (limited to 'termkey-internal.h')
-rw-r--r--termkey-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/termkey-internal.h b/termkey-internal.h
index 608457b..c1f4cd6 100644
--- a/termkey-internal.h
+++ b/termkey-internal.h
@@ -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