aboutsummaryrefslogtreecommitdiff
path: root/termkey-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'termkey-internal.h')
-rw-r--r--termkey-internal.h6
1 files changed, 6 insertions, 0 deletions
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;