aboutsummaryrefslogtreecommitdiff
path: root/termkey-internal.h
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-08 17:47:57 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-08 17:47:57 +0000
commite8806029447040591775cab4fb5bbd355d65bbdf (patch)
tree5174866e38af9b23124a1f9c69e45ba7ed6bebee /termkey-internal.h
parent9969e197ba48b4c4fd3aab1d29067603e20d1e90 (diff)
downloadtermo-e8806029447040591775cab4fb5bbd355d65bbdf.tar.gz
termo-e8806029447040591775cab4fb5bbd355d65bbdf.tar.xz
termo-e8806029447040591775cab4fb5bbd355d65bbdf.zip
Pass driver_info as explicit void* parameter into driver methods
Diffstat (limited to 'termkey-internal.h')
-rw-r--r--termkey-internal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/termkey-internal.h b/termkey-internal.h
index 9f0904a..6e68525 100644
--- a/termkey-internal.h
+++ b/termkey-internal.h
@@ -9,10 +9,10 @@
struct termkey_driver
{
void *(*new_driver)(termkey_t *tk, const char *term);
- void (*free_driver)(void *);
- void (*start_driver)(termkey_t *tk);
- void (*stop_driver)(termkey_t *tk);
- termkey_result (*getkey)(termkey_t *tk, termkey_key *key, int force);
+ void (*free_driver)(void *info);
+ void (*start_driver)(termkey_t *tk, void *info);
+ void (*stop_driver)(termkey_t *tk, void *info);
+ termkey_result (*getkey)(termkey_t *tk, void *info, termkey_key *key, int force);
};
struct keyinfo {