1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-03 22:48:03 +02:00
gnupg/scd
Werner Koch 43b3ec5aee
scd: Change the apptype from a string to an enum.
* scd/app-common.h (cardtype_t): New.
(apptype_t): New.
(struct app_ctx_s): Change type of field apptype.  Add fields
appversion and cardtype.  Adjust all app-*.c for the new type.
* scd/app.c (supported_app_list): New.
(strapptype): New.
(apptype_from_name): New.
(app_dump_state): Use strapptype.
(app_write_learn_status): Ditto.
(app_getattr): Ditto.
(check_conflict): Use apptype_from_name and integer comparison.
* scd/app-openpgp.c: Replace app->card_version by app->appversion.
--

This is another patch to make backporting from 2.3 easier.
2021-02-19 09:17:06 +01:00
..
apdu.c scd: Do not print reader status change with --debug cardio. 2020-11-11 14:50:49 +01:00
apdu.h scd: Map some error codes from libusb to ccid-driver error codes. 2020-10-06 11:14:59 +09:00
app-common.h scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app-dinsig.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app-geldkarte.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app-help.c scd: Add some compatibility code for easier backporting. 2021-02-19 08:30:36 +01:00
app-nks.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app-openpgp.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app-p15.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app-sc-hsm.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd:ccid: Call libusb_clear_halt in ccid_vendor_specific_setup. 2020-12-16 10:15:43 +09:00
ccid-driver.h scd: Clean up the structure for future fix of PC/SC. 2020-10-06 11:17:58 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: Add some compatibility code for easier backporting. 2021-02-19 08:30:36 +01:00
iso7816.c scd: Map some error codes from libusb to ccid-driver error codes. 2020-10-06 11:14:59 +09:00
iso7816.h scd: Factor common PIN status check out. 2020-04-15 15:35:55 +02:00
Makefile.am w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
scdaemon-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
scdaemon.c scd: Add some compatibility code for easier backporting. 2021-02-19 08:30:36 +01:00
scdaemon.h scd: Add some compatibility code for easier backporting. 2021-02-19 08:30:36 +01:00
scdaemon.w32-manifest.in w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00