Debian Codegraph @

src/common/e-ews-common-utils.h

raw
1 /*
2 * SPDX-FileCopyrightText: (C) 2024 Red Hat (www.redhat.com>
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6 #ifndef E_EWS_COMMON_UTILS_H
7 #define E_EWS_COMMON_UTILS_H
8
9 #include <camel/camel.h>
10 #include <libedataserver/libedataserver.h>
11 #include <libedata-cal/libedata-cal.h>
12
13 G_BEGIN_DECLS
14
15 gboolean e_ews_common_utils_mail_folder_uri_parse (CamelSession *session,
16 const gchar *folder_uri,
17 CamelStore **out_store,
18 gchar **out_folder_name,
19 GError **error);
20 GString * e_ews_common_utils_str_replace_string (const gchar *text,
21 const gchar *before,
22 const gchar *after);
23 ICalTimezone * e_ews_common_utils_get_configured_icaltimezone (void);
24 ICalProperty * e_ews_common_utils_find_attendee (ECalBackend *cal_backend,
25 ICalComponent *icomp,
26 GHashTable *aliases);
27 gboolean e_ews_common_utils_gsettings_schema_exists (const gchar *schema_id);
28 GHashTable * e_ews_common_utils_dup_mail_addresses (ESourceRegistry *registry,
29 ESource *child_source,
30 gchar **inout_user_email);
31
32 G_END_DECLS
33
34 #endif /* E_EWS_COMMON_UTILS_H */