Handle bi-directional communication for fd migration
[qemu/kevin.git] / libcacard / vreadert.h
blobf97e0a79ecf81c263e2aa9de73f1d6813a57124b
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 */
6 #ifndef VREADERT_H
7 #define VREADERT_H 1
9 typedef enum {
10 VREADER_OK = 0,
11 VREADER_NO_CARD,
12 VREADER_OUT_OF_MEMORY
13 } VReaderStatus;
15 typedef unsigned int vreader_id_t;
16 typedef struct VReaderStruct VReader;
17 typedef struct VReaderListStruct VReaderList;
18 typedef struct VReaderListEntryStruct VReaderListEntry;
20 typedef struct VReaderEmulStruct VReaderEmul;
21 typedef void (*VReaderEmulFree)(VReaderEmul *);
23 #endif