- Added driver for MICARDO 2 cards

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@681 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
jey 2002-08-21 10:13:28 +00:00
parent 82fabceeae
commit 8bbcb933a4
3 changed files with 1191 additions and 1 deletions

1188
src/libopensc/card-mcrd.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -53,6 +53,7 @@ static const struct _sc_driver_entry internal_card_drivers[] = {
{ "gpk", (void *) sc_get_gpk_driver, NULL },
#endif
{ "etoken", (void *) sc_get_etoken_driver, NULL },
{ "mcrd", (void *) sc_get_mcrd_driver, NULL },
/* The default driver should be last, as it handles all the
* unrecognized cards. */
{ "default", (void *) sc_get_default_driver, NULL },

View File

@ -654,7 +654,7 @@ int sc_delete_file(struct sc_card *card, const struct sc_path *path);
int sc_card_ctl(struct sc_card *card, unsigned long command, void *arg);
inline int sc_file_valid(const struct sc_file *file);
struct sc_file * sc_file_new();
struct sc_file * sc_file_new(void);
void sc_file_free(struct sc_file *file);
void sc_file_dup(struct sc_file **dest, const struct sc_file *src);
@ -702,6 +702,7 @@ extern const struct sc_card_driver *sc_get_gpk_driver(void);
extern const struct sc_card_driver *sc_get_tcos_driver(void);
extern const struct sc_card_driver *sc_get_default_driver(void);
extern const struct sc_card_driver *sc_get_etoken_driver(void);
extern const struct sc_card_driver *sc_get_mcrd_driver(void);
#ifdef __cplusplus
}