From b1b75d90d5237344c56a5b72084a913bc59cc4b7 Mon Sep 17 00:00:00 2001 From: Yang Gu Date: Thu, 22 Apr 2010 23:12:22 +0800 Subject: stkutil: Add parser for MMS reference objects --- src/stkutil.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/stkutil.h') diff --git a/src/stkutil.h b/src/stkutil.h index c2579dc6..b1e4c5e9 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -721,6 +721,15 @@ struct stk_frames_info { unsigned int len; }; +/* + * According to 102.223 Section 8.82 the length of CTLV is 1 byte. This means + * that the maximum size is 127 according to the rules of CTLVs. + */ +struct stk_mms_reference { + unsigned char ref[127]; + unsigned char len; +}; + struct stk_command_display_text { char *text; struct stk_icon_id icon_id; -- cgit v1.2.3