summaryrefslogtreecommitdiffstats
path: root/src/stkutil.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-03-01 17:57:18 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-03-01 18:00:54 -0600
commit2c1cdebd1ab938ec86670a95532f06368577560e (patch)
tree2f7f82f4df3a2156c6f872cac92b892a314bf3fd /src/stkutil.h
parent704d6175b7d57b339ac648e8e48eda1b40d792be (diff)
downloadofono-2c1cdebd1ab938ec86670a95532f06368577560e.tar.bz2
Add parser for Response Length 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 6c7652ed..f950ea5b 100644
--- a/src/stkutil.h
+++ b/src/stkutil.h
@@ -220,6 +220,15 @@ struct stk_text_attribute {
unsigned char len;
};
+/*
+ * According to 102.223 Section 8.11, the maximum length should never be set
+ * to 0.
+ */
+struct stk_response_length {
+ unsigned char min;
+ unsigned char max;
+};
+
struct stk_command_display_text {
char *text;
struct stk_icon_identifier icon_id;