From a74bd04edff25ec086e2d5672e8751f0fd8d9c5c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 12 Mar 2010 07:51:58 -0600 Subject: [PATCH] Reorder: stk response length structure Follow the order of the specification --- src/stkutil.h | 18 +++++++++--------- 1 file 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;