FreeCalypso > hg > freecalypso-hwlab
annotate simtool/globals.c @ 94:b84df973cd8b
fc-simtool: parse_ef_select_response() function added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 24 Jan 2021 20:35:23 +0000 |
parents | d4150123ca45 |
children |
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; |