- 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:
parent
82fabceeae
commit
8bbcb933a4
File diff suppressed because it is too large
Load Diff
|
@ -53,6 +53,7 @@ static const struct _sc_driver_entry internal_card_drivers[] = {
|
||||||
{ "gpk", (void *) sc_get_gpk_driver, NULL },
|
{ "gpk", (void *) sc_get_gpk_driver, NULL },
|
||||||
#endif
|
#endif
|
||||||
{ "etoken", (void *) sc_get_etoken_driver, NULL },
|
{ "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
|
/* The default driver should be last, as it handles all the
|
||||||
* unrecognized cards. */
|
* unrecognized cards. */
|
||||||
{ "default", (void *) sc_get_default_driver, NULL },
|
{ "default", (void *) sc_get_default_driver, NULL },
|
||||||
|
|
|
@ -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);
|
int sc_card_ctl(struct sc_card *card, unsigned long command, void *arg);
|
||||||
|
|
||||||
inline int sc_file_valid(const struct sc_file *file);
|
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_free(struct sc_file *file);
|
||||||
void sc_file_dup(struct sc_file **dest, const struct sc_file *src);
|
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_tcos_driver(void);
|
||||||
extern const struct sc_card_driver *sc_get_default_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_etoken_driver(void);
|
||||||
|
extern const struct sc_card_driver *sc_get_mcrd_driver(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue