From 6729a9776aeffde08b11342dfc53e33873a33594 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 26 Oct 2014 19:04:56 +0100 Subject: 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. --- include/osmocom/sim/sim.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/osmocom/sim') 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) */ -- cgit v1.2.3