]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/pcsc.h
Add support for standard USB Smartcard Readers (#765)
[proxmark3-svn] / client / pcsc.h
diff --git a/client/pcsc.h b/client/pcsc.h
new file mode 100644 (file)
index 0000000..3dae06c
--- /dev/null
@@ -0,0 +1,22 @@
+//-----------------------------------------------------------------------------
+// Copyright (C) 2019 piwi
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// PCSC functions to use alternative Smartcard Readers
+//-----------------------------------------------------------------------------
+
+#ifndef PCSC_H__
+#define PCSC_H__
+
+#include <stdbool.h>
+#include "smartcard.h"
+
+char *getAlternativeSmartcardReader(void);
+bool pcscCheckForCardReaders(void);
+bool pcscSelectAlternativeCardReader(const char *readername);
+bool pcscGetATR(smart_card_atr_t *card);
+
+#endif
Impressum, Datenschutz