repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
curses: fix garbling when chtype != long
[qemu.git]
/
libcacard
/
eventt.h
blob
0dc7bd468ce69d0a164dba9db81cbbb9f413e1b0
1
/*
2
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
3
* See the COPYING.LIB file in the top-level directory.
4
*/
5
6
#ifndef EVENTT_H
7
#define EVENTT_H 1
8
#include
"vreadert.h"
9
#include
"vcardt.h"
10
11
typedef
struct
VEventStruct VEvent
;
12
13
typedef
enum
{
14
VEVENT_READER_INSERT
,
15
VEVENT_READER_REMOVE
,
16
VEVENT_CARD_INSERT
,
17
VEVENT_CARD_REMOVE
,
18
VEVENT_LAST
,
19
}
VEventType
;
20
21
struct
VEventStruct
{
22
VEvent
*
next
;
23
VEventType type
;
24
VReader
*
reader
;
25
VCard
*
card
;
26
};
27
#endif
28
29