| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: (C) 2012 Red Hat, Inc. (www.redhat.com) |
| 3 |
* SPDX-License-Identifier: LGPL-2.1-or-later |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef E_EWS_SUBSCRIBE_FOREIGN_FOLDER_H |
| 7 |
#define E_EWS_SUBSCRIBE_FOREIGN_FOLDER_H |
| 8 |
|
| 9 |
#include <e-util/e-util.h> |
| 10 |
|
| 11 |
#include "camel/camel-ews-store.h" |
| 12 |
#include "common/e-ews-connection.h" |
| 13 |
#include "common/e-ews-folder.h" |
| 14 |
|
| 15 |
G_BEGIN_DECLS |
| 16 |
|
| 17 |
void e_ews_subscribe_foreign_folder (GtkWindow *parent, |
| 18 |
CamelSession *session, |
| 19 |
CamelStore *store, |
| 20 |
EClientCache *client_cache); |
| 21 |
|
| 22 |
gboolean e_ews_subscribe_foreign_folder_resolve_name_sync |
| 23 |
(EEwsConnection *cnc, |
| 24 |
const gchar *name, |
| 25 |
gchar **out_display_name, |
| 26 |
gchar **out_email_address, |
| 27 |
GCancellable *cancellable, |
| 28 |
GError **error); |
| 29 |
|
| 30 |
gboolean e_ews_subscrive_foreign_folder_subscribe_sync |
| 31 |
(CamelEwsStore *ews_store, |
| 32 |
EEwsFolder *folder, |
| 33 |
const gchar *user_display_name, |
| 34 |
const gchar *user_email, |
| 35 |
const gchar *fallback_folder_name, |
| 36 |
gboolean include_subfolders, |
| 37 |
GCancellable *cancellable, |
| 38 |
GError **error); |
| 39 |
G_END_DECLS |
| 40 |
|
| 41 |
#endif /* E_EWS_SUBSCRIBE_FOREIGN_FOLDER_H */ |