diff options
author | Yang Gu <yang.gu@intel.com> | 2010-04-21 12:55:56 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-21 10:26:04 -0500 |
commit | e374b558a2e89ddeb932ad878d5aa93b98a05fed (patch) | |
tree | 4d51d9d2352c202ea0a5a0af2cb7297c8e775e81 /src/stkutil.h | |
parent | 3e5bf2f6bbf24a6464f32909e333328167cb400d (diff) | |
download | ofono-e374b558a2e89ddeb932ad878d5aa93b98a05fed.tar.bz2 |
Add parser for item text attribute list objects
Diffstat (limited to 'src/stkutil.h')
-rw-r--r-- | src/stkutil.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h index 9e3cbf51..d973251c 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -674,6 +674,17 @@ struct stk_text_attribute { unsigned char len; }; +/* + * According to 102.223 Section 8.73 the length of CTLV is 1 byte. This means + * that the maximum size is 127 according to the rules of CTLVs. In addition, + * the length should be also the number multiplied by 4, so the maximum number + * is 124. + */ +struct stk_item_text_attribute_list { + unsigned char list[124]; + unsigned char len; +}; + struct stk_command_display_text { char *text; struct stk_icon_id icon_id; |