summaryrefslogtreecommitdiffstats
path: root/src/stkutil.h
diff options
context:
space:
mode:
authorYang Gu <yang.gu@intel.com>2010-03-31 17:16:58 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-03-31 12:13:46 -0500
commitf15a5c73b4f165ebe883f5e43b3e24eb3d808ff8 (patch)
tree036f5f13d38a814c026054cc172860c7ec3cb1d7 /src/stkutil.h
parent8b57078825dfa38bbb3a12c931d8f096307c0dcb (diff)
downloadofono-f15a5c73b4f165ebe883f5e43b3e24eb3d808ff8.tar.bz2
Add parser for transaction identifier objects
Diffstat (limited to 'src/stkutil.h')
-rw-r--r--src/stkutil.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h
index a87b4ef6..419cda7b 100644
--- a/src/stkutil.h
+++ b/src/stkutil.h
@@ -418,6 +418,15 @@ struct stk_cause {
};
/*
+ * According to 102.223 Section 8.28 the length of CTLV is 1 byte. This means
+ * that the maximum size is 127 according to the rules of CTLVs.
+ */
+struct stk_transaction_id {
+ unsigned char list[127];
+ unsigned int len;
+};
+
+/*
* Defined in TS 102.223 Section 8.31
* Icon ID denotes a file on the SIM filesystem. Since EF cannot have record
* ids of 0, we use icon_id with 0 to denote empty icon_identifier objects