From e374b558a2e89ddeb932ad878d5aa93b98a05fed Mon Sep 17 00:00:00 2001 From: Yang Gu Date: Wed, 21 Apr 2010 12:55:56 +0800 Subject: Add parser for item text attribute list objects --- src/stkutil.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/stkutil.h') 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; -- cgit v1.2.3