git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@47 96b47cad-a561-4643-ad3b-153ac7d7599c
21 lines
416 B
C
21 lines
416 B
C
#ifndef _APDU_H
|
|
#define _APDU_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <opensc/opensc.h>
|
|
|
|
/** Sends a APDU to the card
|
|
* @param card sc_card_t object to which the APDU should be send
|
|
* @param apdu sc_apdu_t object of the APDU to be send
|
|
* @return SC_SUCCESS on succcess and an error code otherwise
|
|
*/
|
|
int my_transmit_apdu(sc_card_t *card, sc_apdu_t *apdu);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|