blob: dafc5da7c8432d5e14e14ee72624f719d5ff34ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/*
* keydis.h:
*
* Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
* All rights reserved.
*
*/
/*
* $Id$
*/
/*
* $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 ***
*
* Revision 1.1 2008/02/14 01:55:57 james
* *** empty log message ***
*
*/
#ifndef __KEYDIS_H__
#define __KEYDIS_H__
struct Context_struct;
#define KEYDIS_SIGNATURE \
void (*close)(struct KeyDis_struct *); \
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
{
KEYDIS_SIGNATURE;
} KeyDis;
#endif /* __KEYDIS_H__ */
|