source: branches/monitor-improvement/reader-pcsc.h@ 1269

Last change on this file since 1269 was 1140, checked in by alno, 13 years ago

WebIf:

  • Merging 1137-1138 of trunk (todo fix compiler warnings in hoscam-http-helpers.c)
File size: 581 bytes
Line 
1
2#include "globals.h"
3
4#ifdef HAVE_PCSC
5#include <PCSC/pcsclite.h>
6#include <PCSC/winscard.h>
7#ifdef OS_MACOSX
8#include <PCSC/wintypes.h>
9#else
10#include <PCSC/reader.h>
11#endif
12
13#ifndef ERR_INVALID
14#define ERR_INVALID -1
15#endif
16#ifndef OK
17#define OK 0
18#endif
19
20int pcsc_reader_init(struct s_reader *pcsc_reader, char *device);
21int pcsc_reader_do_api(struct s_reader *pcsc_reader, uchar *buf, uchar *cta_res, ushort *cta_lr,int l);
22int pcsc_activate_card(struct s_reader *pcsc_reader, uchar *atr, ushort *atr_size);
23int pcsc_check_card_inserted(struct s_reader *pcsc_reader);
24
25#endif
Note: See TracBrowser for help on using the repository browser.