summaryrefslogtreecommitdiffstats
path: root/src/sim/gsm_int.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-10-26 20:14:04 +0100
committerHarald Welte <laforge@gnumonks.org>2014-10-26 20:14:04 +0100
commita97ebc9599d4b3210d7127a2cc75d552e69eeb9a (patch)
tree60eee24f5b78ad5115b21cb9996406e5cbf4fd3d /src/sim/gsm_int.h
parent42645d7d78a22db7b76039407b7b43bc0cc79c54 (diff)
parent534163badec879a644af985c9f5d04b7c957a355 (diff)
Merge branch 'laforge/sim'
This contains some work from 2012 about creating a general library about the data structure of data contained on SIM cards. This 'libosmosim' is supposed to be used by (among others) * tools to review/modify/personalize SIM card filesystem data * virtual SIM card implementation
Diffstat (limited to 'src/sim/gsm_int.h')
-rw-r--r--src/sim/gsm_int.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/sim/gsm_int.h b/src/sim/gsm_int.h
new file mode 100644
index 00000000..54a2fbf2
--- /dev/null
+++ b/src/sim/gsm_int.h
@@ -0,0 +1,17 @@
+#include <sys/types.h>
+#include <osmocom/sim/sim.h>
+
+int osim_int_cprof_add_gsm(struct osim_file_desc *mf);
+int osim_int_cprof_add_telecom(struct osim_file_desc *mf);
+
+int gsm_hpplmn_decode(struct osim_decoded_data *dd,
+ const struct osim_file_desc *desc,
+ int len, uint8_t *data);
+
+int gsm_lp_decode(struct osim_decoded_data *dd,
+ const struct osim_file_desc *desc,
+ int len, uint8_t *data);
+
+int gsm_imsi_decode(struct osim_decoded_data *dd,
+ const struct osim_file_desc *desc,
+ int len, uint8_t *data);