4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 * Girishashok Joshi <girish.joshi@samsung.com>
8 * Chanyeol Park <chanyeol.park@samsung.com>
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
49 guint8 encapsulation_level;
50 GSList *recipient_vcard;
51 struct bmsg_bbody *body_content;
54 struct bmsg_envelope {
55 GSList *env_data; /* Add benv_data here*/
63 struct bmsg_vcard *originator_vcard_data;
64 struct bmsg_envelope *envelope_data;
67 struct bmsg_data * bmsg_parse(gchar *buf);
68 char *bmsg_get_msg_folder(struct bmsg_data *bmsg);
69 char *bmsg_get_msg_body(struct bmsg_data *bmsg, gboolean utf);
70 GSList *bmsg_get_msg_recepients(struct bmsg_data *bmsg, int msg_type);
71 gboolean bmsg_parse_msg_body(const char *message,
72 char **body, char **subject);
73 void bmsg_free_bmsg(struct bmsg_data *bmsg);