"Fossies" - the Fresh Open Source Software Archive 
Member "evolution-mapi-3.46.1/src/libexchangemapi/e-mapi-fast-transfer.h" (2 Dec 2022, 2293 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-fast-transfer.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 *
17 * Authors:
18 * Milan Crha <mcrha@redhat.com>
19 *
20 * Copyright (C) 2011 Red Hat, Inc. (www.redhat.com)
21 *
22 */
23
24 #ifndef E_MAPI_FAST_TRANSFER_H
25 #define E_MAPI_FAST_TRANSFER_H
26
27 #include <glib.h>
28 #include <glib-object.h>
29 #include <gio/gio.h>
30
31 #include <libmapi/libmapi.h>
32 #include "e-mapi-connection.h"
33
34 G_BEGIN_DECLS
35
36 enum MAPISTATUS e_mapi_fast_transfer_objects (EMapiConnection *conn,
37 TALLOC_CTX *mem_ctx,
38 mapi_object_t *obj_folder,
39 mapi_id_array_t *ids,
40 TransferObjectCB cb,
41 gpointer cb_user_data,
42 GCancellable *cancellable,
43 GError **perror);
44
45 typedef enum {
46 E_MAPI_FAST_TRANSFER_FLAG_NONE = 0,
47 E_MAPI_FAST_TRANSFER_FLAG_ATTACHMENTS = 1 << 0,
48 E_MAPI_FAST_TRANSFER_FLAG_RECIPIENTS = 1 << 1,
49 E_MAPI_FAST_TRANSFER_FLAG_ALL = E_MAPI_FAST_TRANSFER_FLAG_ATTACHMENTS | E_MAPI_FAST_TRANSFER_FLAG_RECIPIENTS
50 } EMapiFastTransferFlags;
51
52 enum MAPISTATUS e_mapi_fast_transfer_object (EMapiConnection *conn,
53 TALLOC_CTX *mem_ctx,
54 mapi_object_t *object,
55 guint32 transfer_flags, /* bit OR of EMapiFastTransferFlags */
56 TransferObjectCB cb,
57 gpointer cb_user_data,
58 GCancellable *cancellable,
59 GError **perror);
60
61 enum MAPISTATUS e_mapi_fast_transfer_properties (EMapiConnection *conn,
62 TALLOC_CTX *mem_ctx,
63 mapi_object_t *object,
64 struct SPropTagArray *tags,
65 TransferObjectCB cb,
66 gpointer cb_user_data,
67 GCancellable *cancellable,
68 GError **perror);
69
70 G_END_DECLS
71
72 #endif /* E_MAPI_FAST_TRANSFER_H */