summaryrefslogtreecommitdiffstats
path: root/src/stkutil.h
diff options
context:
space:
mode:
authorYang Gu <gyagp0@gmail.com>2010-04-22 23:12:22 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-04-23 11:52:17 -0500
commitb1b75d90d5237344c56a5b72084a913bc59cc4b7 (patch)
treef6efaaed574197bfdeec94e67929969a38d461ab /src/stkutil.h
parentd6c5def9643b37c7e909b1cc4d17b18fb68654e7 (diff)
downloadofono-b1b75d90d5237344c56a5b72084a913bc59cc4b7.tar.bz2
stkutil: Add parser for MMS reference objects
Diffstat (limited to 'src/stkutil.h')
-rw-r--r--src/stkutil.h9
1 files changed, 9 insertions, 0 deletions
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;