summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stkutil.h10
1 files changed, 10 insertions, 0 deletions
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 {