From f15a5c73b4f165ebe883f5e43b3e24eb3d808ff8 Mon Sep 17 00:00:00 2001 From: Yang Gu Date: Wed, 31 Mar 2010 17:16:58 +0800 Subject: Add parser for transaction identifier objects --- src/stkutil.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/stkutil.h') diff --git a/src/stkutil.h b/src/stkutil.h index a87b4ef6..419cda7b 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -417,6 +417,15 @@ struct stk_cause { ofono_bool_t has_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 -- cgit v1.2.3