aboutsummaryrefslogtreecommitdiff
path: root/termkey-internal.h
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-02 17:54:24 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-02 17:54:24 +0000
commit5107112a91895c357da0131424e229d75f5b9462 (patch)
tree1747ac596e95f5af69c1fa00d21536202aa183ab /termkey-internal.h
parent1d4d908cb8668a1c043a4630d114dcfa219711d7 (diff)
downloadtermo-5107112a91895c357da0131424e229d75f5b9462.tar.gz
termo-5107112a91895c357da0131424e229d75f5b9462.tar.xz
termo-5107112a91895c357da0131424e229d75f5b9462.zip
Added new driver virtual methods 'start_driver' and 'stop_driver'
Diffstat (limited to 'termkey-internal.h')
-rw-r--r--termkey-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/termkey-internal.h b/termkey-internal.h
index 5494cf6..9f0904a 100644
--- a/termkey-internal.h
+++ b/termkey-internal.h
@@ -10,6 +10,8 @@ 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);
};