aboutsummaryrefslogtreecommitdiffstats
path: root/src/keydis.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keydis.h')
-rw-r--r--src/keydis.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/keydis.h b/src/keydis.h
index d0ca69a..dafc5da 100644
--- a/src/keydis.h
+++ b/src/keydis.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.2 2008/02/15 03:32:07 james
+ * *** empty log message ***
+ *
* Revision 1.1 2008/02/14 02:46:44 james
* *** empty log message ***
*
@@ -24,9 +27,16 @@
#define __KEYDIS_H__
+struct Context_struct;
+
#define KEYDIS_SIGNATURE \
void (*close)(struct KeyDis_struct *); \
- int (*key)(struct KeyDis_struct *,int key)
+ int (*key)(struct KeyDis_struct *,struct Context_struct *,int key); \
+ int (*set_baud)(struct KeyDis_struct *,struct Context_struct *,int rate); \
+ int (*send_break)(struct KeyDis_struct *,struct Context_struct *); \
+ int (*set_flow)(struct KeyDis_struct *,struct Context_struct *,int flow)
+
+
typedef struct KeyDis_struct
{