annotate simtool/globals.c @ 171:88b8257d353b

eeproms: rm all configs that went to fc-usbser-tools These configs need to be actively maintained, hence having more than one official home location for them is a bad idea.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 05:21:56 +0000
parents d4150123ca45
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
85
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #include <sys/types.h>
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #include <pcsclite.h>
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 #include <winscard.h>
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 SCARDCONTEXT hContext;
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 SCARDHANDLE hCard;
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 char *reader_name_buf;
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 u_char sim_resp_data[258];
b57cf64ece29 fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 unsigned sim_resp_data_len, sim_resp_sw;
93
d4150123ca45 fc-simtool: some refactoring of SELECT response parsing
Mychaela Falconia <falcon@freecalypso.org>
parents: 89
diff changeset
10 unsigned curfile_total_size, curfile_structure;
d4150123ca45 fc-simtool: some refactoring of SELECT response parsing
Mychaela Falconia <falcon@freecalypso.org>
parents: 89
diff changeset
11 unsigned curfile_record_len, curfile_record_count;