aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sim/sim.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-10-26 19:04:56 +0100
committerHarald Welte <laforge@gnumonks.org>2014-10-26 19:50:55 +0100
commit6729a9776aeffde08b11342dfc53e33873a33594 (patch)
treeb7f79e60df52b63a5dbbf61b9856156e611479ab /include/osmocom/sim/sim.h
parentdb2b52ee8477a0223114aeadc15c3bfe8c2ee1fd (diff)
make sure to register DF.TELECOM and DF.GSM for SIM, USIM + TSIM
before we only did it partially, and by exporting data from sim, rather than the new osim_int_cprof_add_{gsm,telecom}() functions.
Diffstat (limited to 'include/osmocom/sim/sim.h')
-rw-r--r--include/osmocom/sim/sim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/sim/sim.h b/include/osmocom/sim/sim.h
index 80d1fcd1..02cdcad5 100644
--- a/include/osmocom/sim/sim.h
+++ b/include/osmocom/sim/sim.h
@@ -80,7 +80,7 @@ struct osim_file_ops {
const struct osim_file_desc *desc,
int len, uint8_t *data);
/*! Encode osim_decoded_data into binary file */
- struct msgb * (*encode)(const struct osim_file *file,
+ struct msgb * (*encode)(const struct osim_file_desc *desc,
const struct osim_decoded_data *decoded);
};
@@ -159,7 +159,7 @@ struct osim_file_desc {
uint16_t fid; /*!< File Identifier */
uint8_t sfid; /*!< Short File IDentifier */
- const char *df_name;
+ const uint8_t *df_name;
uint8_t df_name_len;
const char *short_name; /*!< Short Name (like EF.ICCID) */