]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/pcsc.h
fix emv search behavior
[proxmark3-svn] / client / pcsc.h
CommitLineData
a9104f7e 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
53fb848a 14#include <stdint.h>
a9104f7e 15#include <stdbool.h>
16#include "smartcard.h"
17
53fb848a 18uint8_t *pcsc_get_trace_addr(void);
19uint32_t pcsc_get_traceLen(void);
a9104f7e 20char *getAlternativeSmartcardReader(void);
21bool pcscCheckForCardReaders(void);
22bool pcscSelectAlternativeCardReader(const char *readername);
23bool pcscGetATR(smart_card_atr_t *card);
6b5105be 24void pcscTransmit(uint8_t *data, uint32_t data_len, uint32_t flags, uint8_t *response, int *response_len);
a9104f7e 25
26#endif
Impressum, Datenschutz