diff uicc/efstruct.h @ 87:0e46bbb801e0

fc-uicc-tool: internal code in preparation for porting extended readef, savebin, restore-file and erase-file commands from fc-simtool
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Apr 2021 03:52:48 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uicc/efstruct.h	Sun Apr 11 03:52:48 2021 +0000
@@ -0,0 +1,11 @@
+/*
+ * This header file defines a simple internal struct that represents
+ * EF structure decoded from the messy TLV-based SELECT response.
+ */
+
+struct ef_struct {
+	unsigned structure;
+	unsigned total_size;
+	unsigned record_len;
+	unsigned record_count;
+};