aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-04 17:52:33 +0000
committerHarald Welte <laforge@gnumonks.org>2014-10-26 19:09:23 +0100
commitd83d29610a7c63a387fee77dbc2b18b19dc83b14 (patch)
treed0f3f4e7cefcc7ebcdcaa5620155e79f82ccd891 /include
parent7674960ffadd5d7cb1a58ecee77252fe19e1e86f (diff)
sim: further updates/fixes
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sim/sim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/osmocom/sim/sim.h b/include/osmocom/sim/sim.h
index 1b13693..92b3b5a 100644
--- a/include/osmocom/sim/sim.h
+++ b/include/osmocom/sim/sim.h
@@ -231,6 +231,8 @@ struct osim_card_profile {
const struct osim_card_sw *osim_find_sw(const struct osim_card_profile *cp,
uint16_t sw);
+enum osim_card_sw_class osim_sw_class(const struct osim_card_profile *cp,
+ uint16_t sw_in);
struct osim_card_hdl;
char *osim_print_sw(const struct osim_card_hdl *ch, uint16_t sw_in);
@@ -291,6 +293,6 @@ struct osim_chan_hdl {
/* reader.c */
int osim_transceive_apdu(struct osim_chan_hdl *st, struct msgb *amsg);
-struct osim_reader_hdl *osim_reader_open(int idx, const char *name);
+struct osim_reader_hdl *osim_reader_open(int idx, const char *name, void *ctx);
struct osim_card_hdl *osim_card_open(struct osim_reader_hdl *rh);
#endif /* _OSMOCOM_SIM_H */