From 145dca73b24f361d54c48a9ad689abf64663c684 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Tue, 7 Oct 2008 22:22:59 +0100 Subject: Moved 'eatbytes' back into core code, put a code ptr in the termkey struct as a "protected" method --- termkey-internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'termkey-internal.h') diff --git a/termkey-internal.h b/termkey-internal.h index 7934306..4278c6a 100644 --- a/termkey-internal.h +++ b/termkey-internal.h @@ -33,6 +33,12 @@ struct termkey { struct termkey_driver driver; void *driver_info; + + // Now some "protected" methods for the driver to call but which we don't + // want exported as real symbols in the library + struct { + void (*eatbytes)(termkey_t *tk, size_t count); + } method; }; extern struct termkey_driver termkey_driver_csi; -- cgit v1.2.3