From 5144254f626cc3eeb61a180948e0883cd2fe1696 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 27 Feb 2010 10:19:19 -0600 Subject: [PATCH] stk: Add Duration structure --- src/stkutil.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/stkutil.h b/src/stkutil.h index baffa675..01864de6 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -200,10 +200,20 @@ struct stk_icon_identifier { unsigned char icon_qualifier; }; +/* + * According to 102.223 Section 8.8 interval values of 0x00 are reserved. + * We use this to denote empty duration objects. + */ +struct stk_duration { + enum stk_duration_type unit; + unsigned char interval; +}; + struct stk_command_display_text { char *text; struct stk_icon_identifier icon_id; ofono_bool_t immediate_response; + struct stk_duration duration; }; struct stk_command {