5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #define BMESSAGE_VERSION "VERSION:1.0"
23 enum bmessage_read_status {
25 BMESSAGE_STATUS_UNREAD
30 BMESSAGE_TYPE_SMS_GSM,
31 BMESSAGE_TYPE_SMS_CDMA,
35 enum bmessage_charset {
40 enum bmessage_encoding {
42 BMESSAGE_ENCODE_G_7BIT,
43 BMESSAGE_ENCODE_G_7BITEXT,
44 BMESSAGE_ENCODE_G_UCS2,
45 BMESSAGE_ENCODE_G_8BIT,
46 BMESSAGE_ENCODE_C_8BIT,
47 BMESSAGE_ENCODE_C_EPM,
48 BMESSAGE_ENCODE_C_7ASCII,
49 BMESSAGE_ENCODE_C_IA5,
50 BMESSAGE_ENCODE_C_UNICODE,
51 BMESSAGE_ENCODE_C_SJIS,
52 BMESSAGE_ENCODE_C_KOREAN,
53 BMESSAGE_ENCODE_C_LATINHEB,
54 BMESSAGE_ENCODE_C_LATIN,
58 enum bmessage_language {
59 BMESSAGE_LANGUAGE_TURKISH,
60 BMESSAGE_LANGUAGE_SPANISH,
61 BMESSAGE_LANGUAGE_PORTUGUESE,
62 BMESSAGE_LANGUAGE_ENGLISH,
63 BMESSAGE_LANGUAGE_FRENCH,
64 BMESSAGE_LANGUAGE_JAPANESE,
65 BMESSAGE_LANGUAGE_KOREAN,
66 BMESSAGE_LANGUAGE_CHINESE,
67 BMESSAGE_LANGUAGE_HEBREW,
68 BMESSAGE_LANGUAGE_UNKNOWN
71 enum bmessage_vcard_version {
76 struct bmessage_vcard {
77 enum bmessage_vcard_version version;
84 struct bmessage_property {
87 enum bmessage_read_status read_status;
88 enum bmessage_type type;
91 enum bmessage_charset charset;
92 enum bmessage_encoding encoding;
93 enum bmessage_language language;