VirtualBox

Changeset 45033 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Mar 13, 2013 11:45:23 PM (12 years ago)
Author:
vboxsync
Message:

Fixed PDMICARDREADERUP method names so they don't repeat the interface name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmcardreaderinfs.h

    r45032 r45033  
    6262                                                  PDMICARDREADER_READERSTATE *paReaderStats, uint32_t cReaderStats));
    6363    DECLR3CALLBACKMEMBER(int, pfnBeginTransaction,(PPDMICARDREADERDOWN pInterface, void *pvUser));
    64     DECLR3CALLBACKMEMBER(int, pfnEndTransaction,(PPDMICARDREADERDOWN pInterface, void *pvUser,
    65                                                                uint32_t u32Disposition));
     64    DECLR3CALLBACKMEMBER(int, pfnEndTransaction,(PPDMICARDREADERDOWN pInterface, void *pvUser, uint32_t u32Disposition));
    6665    DECLR3CALLBACKMEMBER(int, pfnTransmit,(PPDMICARDREADERDOWN pInterface, void *pvUser,
    6766                                           const PDMICARDREADER_IO_REQUEST *pioSendRequest,
     
    7473     */
    7574    DECLR3CALLBACKMEMBER(int, pfnControl,(PPDMICARDREADERDOWN pInterface, void *pvUser,
    76                                           uint32_t u32ControlCode, const void *pvInBuffer, uint32_t cbInBuffer, uint32_t cbOutBuffer));
     75                                          uint32_t u32ControlCode, const void *pvInBuffer,
     76                                          uint32_t cbInBuffer, uint32_t cbOutBuffer));
    7777    /**
    7878     * This function ask driver to provide attribute (dwAttribId) and provide limit (cbAttrib) of buffer size for attribute value,
     
    9090struct PDMICARDREADERUP
    9191{
    92     /** @todo r=bird: Why on earth is CardReaderUp part of the names here??
    93      *        Please do s/pfnCardReaderUp/pfn/g. */
    94     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpEstablishContext,(PPDMICARDREADERUP pInterface, int32_t lSCardRc));
    95     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpStatus,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
    96                                                      char *pszReaderName, uint32_t cchReaderName, uint32_t u32CardState,
    97                                                      uint32_t u32Protocol, uint8_t *pu8Atr, uint32_t cbAtr));
    98     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpConnect,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
    99                                                       uint32_t u32ActiveProtocol));
    100     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpDisconnect,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc));
    101     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpSetStatusChange,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
    102                                                               PDMICARDREADER_READERSTATE *paReaderStats, uint32_t cReaderStats));
    103     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpBeginTransaction,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc));
    104     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpEndTransaction,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc));
     92    DECLR3CALLBACKMEMBER(int, pfnEstablishContext,(PPDMICARDREADERUP pInterface, int32_t lSCardRc));
     93    DECLR3CALLBACKMEMBER(int, pfnStatus,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
     94                                         char *pszReaderName, uint32_t cchReaderName, uint32_t u32CardState,
     95                                         uint32_t u32Protocol, uint8_t *pu8Atr, uint32_t cbAtr));
     96    DECLR3CALLBACKMEMBER(int, pfnConnect,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
     97                                          uint32_t u32ActiveProtocol));
     98    DECLR3CALLBACKMEMBER(int, pfnDisconnect,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc));
     99    DECLR3CALLBACKMEMBER(int, pfnSetStatusChange,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
     100                                                  PDMICARDREADER_READERSTATE *paReaderStats, uint32_t cReaderStats));
     101    DECLR3CALLBACKMEMBER(int, pfnBeginTransaction,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc));
     102    DECLR3CALLBACKMEMBER(int, pfnEndTransaction,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc));
    105103    /* Note: pioRecvPci stack variable */
    106     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpTransmit,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
    107                                                        const PDMICARDREADER_IO_REQUEST *pioRecvPci, uint8_t *pu8RecvBuffer, uint32_t cbRecvBuffer));
    108     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpControl,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
    109                                                       uint32_t u32ControlCode, void *pvOutBuffer, uint32_t cbOutBuffer));
    110     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpGetAttrib,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
    111                                                         uint32_t u32AttribId, void *pvAttrib, uint32_t cbAttrib));
    112     DECLR3CALLBACKMEMBER(int, pfnCardReaderUpSetAttrib,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
    113                                                         uint32_t u32AttribId));
     104    DECLR3CALLBACKMEMBER(int, pfnTransmit,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
     105                                           const PDMICARDREADER_IO_REQUEST *pioRecvPci,
     106                                           uint8_t *pu8RecvBuffer, uint32_t cbRecvBuffer));
     107    DECLR3CALLBACKMEMBER(int, pfnControl,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
     108                                          uint32_t u32ControlCode, void *pvOutBuffer, uint32_t cbOutBuffer));
     109    DECLR3CALLBACKMEMBER(int, pfnGetAttrib,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
     110                                            uint32_t u32AttribId, void *pvAttrib, uint32_t cbAttrib));
     111    DECLR3CALLBACKMEMBER(int, pfnSetAttrib,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc, uint32_t u32AttribId));
    114112};
    115113
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette