summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-03-12 07:51:58 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-03-15 21:02:06 -0500
commita74bd04edff25ec086e2d5672e8751f0fd8d9c5c (patch)
tree038e201a750b3bad1cfd6d05dff6e523bce7c1e9 /src
parent12e411e6fcd9b4d1d7fa49fcfaefdc2bcc8c3f10 (diff)
downloadofono-a74bd04edff25ec086e2d5672e8751f0fd8d9c5c.tar.bz2
Reorder: stk response length structure
Follow the order of the specification
Diffstat (limited to 'src')
-rw-r--r--src/stkutil.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/stkutil.h b/src/stkutil.h
index 4b2c046b..9b3464e4 100644
--- a/src/stkutil.h
+++ b/src/stkutil.h
@@ -257,6 +257,15 @@ struct stk_item {
char *text;
};
+/*
+ * 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;
+};
+
/* Defined in TS 102.223 Section 8.12 */
struct stk_result {
unsigned char general;
@@ -280,15 +289,6 @@ 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;