4 * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
15 * Revision 1.6 2008/02/28 11:27:48 james
16 * *** empty log message ***
18 * Revision 1.5 2008/02/23 11:48:37 james
19 * *** empty log message ***
21 * Revision 1.4 2008/02/22 17:07:00 james
22 * *** empty log message ***
24 * Revision 1.3 2008/02/15 23:52:12 james
25 * *** empty log message ***
27 * Revision 1.2 2008/02/15 03:32:07 james
28 * *** empty log message ***
30 * Revision 1.1 2008/02/14 02:46:44 james
31 * *** empty log message ***
33 * Revision 1.1 2008/02/14 01:55:57 james
34 * *** empty log message ***
42 struct Context_struct;
44 #define KEYDIS_SIGNATURE \
45 void (*close)(struct KeyDis_struct *); \
46 int (*key)(struct KeyDis_struct *,struct Context_struct *,int key); \
47 int (*set_baud)(struct KeyDis_struct *,struct Context_struct *,int rate); \
48 int (*send_break)(struct KeyDis_struct *,struct Context_struct *); \
49 int (*set_flow)(struct KeyDis_struct *,struct Context_struct *,int flow); \
50 int (*set_ansi)(struct KeyDis_struct *,struct Context_struct *,int ansi); \
51 int (*hangup)(struct KeyDis_struct *,struct Context_struct *); \
52 int (*reset)(struct KeyDis_struct *,struct Context_struct *); \
53 int (*set_size)(struct KeyDis_struct *,struct Context_struct *,int width, int height)
57 typedef struct KeyDis_struct
63 #endif /* __KEYDIS_H__ */