aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Redon <kevredon@mail.tsaitgaist.info>2012-09-11 11:44:18 +0200
committerHarald Welte <laforge@gnumonks.org>2014-10-26 19:09:23 +0100
commite07967f689c56473a8492ec422ee38964d00c9c3 (patch)
tree555121253597627d72b0cb7d4458c1c9bbd7b9dc /include
parent6956ee1ba11aa2b7321e0d4fd41877184d9a3650 (diff)
sim: renamed case to the one defined in ISO7816-3
APDU_CASE_2 becomes APDU_CASE_2S APDU_CASE_2_EXT becmoes APDU_CASE_2E APDU_CASE_3 becomes APDU_CASE_3S APDU_CASE_3_EXT becmoes APDU_CASE_3E APDU_CASE_4 becomes APDU_CASE_4S APDU_CASE_4_EXT becmoes APDU_CASE_4E
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sim/sim.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/osmocom/sim/sim.h b/include/osmocom/sim/sim.h
index 35ff7b4..3273193 100644
--- a/include/osmocom/sim/sim.h
+++ b/include/osmocom/sim/sim.h
@@ -9,12 +9,12 @@
/* command-response pairs cases, as specified in ISO/IEC 7816-3:2006(E) ยง12.1 */
enum osim_apdu_case {
APDU_CASE_1, /* command header, no command data field, no response data field */
- APDU_CASE_2, /* command header, no command data field, response data field (short) */
- APDU_CASE_2_EXT, /* command header, no command data field, response data field (extended) */
- APDU_CASE_3, /* command header, command data field (short), no response data field */
- APDU_CASE_3_EXT, /* command header, command data field (extended), no response data field */
- APDU_CASE_4, /* command header, command data field (short), response data field (short) */
- APDU_CASE_4_EXT /* command header, command data field (extended), response data field (extended) */
+ APDU_CASE_2S, /* command header, no command data field, response data field (short) */
+ APDU_CASE_2E, /* command header, no command data field, response data field (extended) */
+ APDU_CASE_3S, /* command header, command data field (short), no response data field */
+ APDU_CASE_3E, /* command header, command data field (extended), no response data field */
+ APDU_CASE_4S, /* command header, command data field (short), response data field (short) */
+ APDU_CASE_4E /* command header, command data field (extended), response data field (extended) */
};
struct osim_apdu_cmd_hdr {