linux-user: add SO_PEERCRED support for getsockopt
[qemu.git] / libcacard / vreadert.h
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 VREADERT_H
7 #define VREADERT_H 1
8
9 typedef enum {
10 VREADER_OK = 0,
11 VREADER_NO_CARD,
12 VREADER_OUT_OF_MEMORY
13 } VReaderStatus;
14
15 typedef unsigned int vreader_id_t;
16 typedef struct VReaderStruct VReader;
17 typedef struct VReaderListStruct VReaderList;
18 typedef struct VReaderListEntryStruct VReaderListEntry;
19
20 typedef struct VReaderEmulStruct VReaderEmul;
21 typedef void (*VReaderEmulFree)(VReaderEmul *);
22
23 #endif
24