"Fossies" - the Fresh Open Source Software Archive 
Member "evolution-mapi-3.46.1/src/libexchangemapi/e-mapi-mail-utils.h" (2 Dec 2022, 2370 Bytes) of package /linux/misc/evolution-mapi-3.46.1.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "e-mapi-mail-utils.h" see the
Fossies "Dox" file reference documentation.
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with the program; if not, see <http://www.gnu.org/licenses/>
15 *
16 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
17 *
18 */
19
20 #ifndef E_MAPI_MAIL_UTILS_H
21 #define E_MAPI_MAIL_UTILS_H
22
23 #include "evolution-mapi-config.h"
24
25 #include <glib.h>
26 #include <gio/gio.h>
27
28 #include <libmapi/libmapi.h>
29
30 #include <e-mapi-connection.h>
31
32 struct _CamelAddress;
33 struct _CamelMimeMessage;
34
35 struct _CamelMimeMessage *e_mapi_mail_utils_object_to_message (EMapiConnection *conn,
36 /* const */ EMapiObject *object);
37
38 gboolean e_mapi_mail_utils_message_to_object (struct _CamelMimeMessage *message,
39 guint32 message_camel_flags,
40 EMapiCreateFlags create_flags,
41 EMapiObject **pobject,
42 TALLOC_CTX *mem_ctx,
43 GCancellable *cancellable,
44 GError **perror);
45
46 void e_mapi_mail_utils_decode_email_address (EMapiConnection *conn,
47 struct mapi_SPropValue_array *properties,
48 const uint32_t *name_proptags,
49 guint name_proptags_len,
50 const uint32_t *email_proptags,
51 guint email_proptags_len,
52 uint32_t email_type_proptag,
53 uint32_t email_proptag,
54 gchar **name,
55 gchar **email);
56 void e_mapi_mail_utils_decode_email_address1 (EMapiConnection *conn,
57 struct mapi_SPropValue_array *properties,
58 uint32_t name_proptag,
59 uint32_t email_proptag,
60 uint32_t email_type_proptag,
61 gchar **name,
62 gchar **email);
63 void e_mapi_mail_utils_decode_recipients (EMapiConnection *conn,
64 EMapiRecipient *recipients,
65 struct _CamelAddress *to,
66 struct _CamelAddress *cc,
67 struct _CamelAddress *bcc);
68
69 #endif /* E_MAPI_MAIL_UTILS */