]> git.zerfleddert.de Git - proxmark3-svn/blob - client/pcsc.h
2708351855aa4a0928afa10b9bacb95580d247c7
[proxmark3-svn] / client / pcsc.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2019 piwi
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // PCSC functions to use alternative Smartcard Readers
9 //-----------------------------------------------------------------------------
10
11 #ifndef PCSC_H__
12 #define PCSC_H__
13
14 #include <stdbool.h>
15 #include "smartcard.h"
16
17 char *getAlternativeSmartcardReader(void);
18 bool pcscCheckForCardReaders(void);
19 bool pcscSelectAlternativeCardReader(const char *readername);
20 bool pcscGetATR(smart_card_atr_t *card);
21 void pcscTransmit(uint8_t *data, uint32_t data_len, uint32_t flags, uint8_t *response, int *response_len);
22
23 #endif
Impressum, Datenschutz