File:  [Qemu by Fabrice Bellard] / qemu / libcacard / eventt.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 19:03:08 2018 UTC (3 years, 5 months ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, qemu1001, qemu1000, qemu0151, HEAD
qemu 0.15.1

    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: 

unix.superglobalmegacorp.com