~ubuntu-branches/ubuntu/wily/evolution-data-server/wily

« back to all changes in this revision

Viewing changes to libedataserverui/e-trust-prompt.h

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2015-07-20 13:34:59 UTC
  • mfrom: (1.1.126) (1.2.48 sid)
  • Revision ID: package-import@ubuntu.com-20150720133459-g6y46hnu5ewtoz08
Tags: 3.16.4-0ubuntu2
debian/patches/0001-Bug-752373-Monthly-events-do-not-recur-correctly.patch:
Cherry-pick patch from upstream to fix events not recurring correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2015 Red Hat, Inc. (www.redhat.com)
 
3
 *
 
4
 * This library is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU Lesser General Public License as published by
 
6
 * the Free Software Foundation.
 
7
 *
 
8
 * This library is distributed in the hope that it will be useful, but
 
9
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
10
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 
11
 * for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Lesser General Public License
 
14
 * along with this library. If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 */
 
17
 
 
18
#if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
 
19
#error "Only <libedataserverui/libedataserverui.h> should be included directly."
 
20
#endif
 
21
 
 
22
#ifndef E_TRUST_PROMPT_H
 
23
#define E_TRUST_PROMPT_H
 
24
 
 
25
#include <glib.h>
 
26
#include <gio/gio.h>
 
27
 
 
28
#include <gtk/gtk.h>
 
29
 
 
30
#include <libedataserver/libedataserver.h>
 
31
 
 
32
gchar *         e_trust_prompt_describe_certificate_errors
 
33
                                        (GTlsCertificateFlags certificate_errors);
 
34
ETrustPromptResponse
 
35
                e_trust_prompt_run_modal(GtkWindow *parent,
 
36
                                         const gchar *source_extension,
 
37
                                         const gchar *source_display_name,
 
38
                                         const gchar *host,
 
39
                                         const gchar *certificate_pem,
 
40
                                         GTlsCertificateFlags certificate_errors,
 
41
                                         const gchar *error_text);
 
42
 
 
43
void            e_trust_prompt_run_for_source
 
44
                                        (GtkWindow *parent,
 
45
                                         ESource *source,
 
46
                                         const gchar *certificate_pem,
 
47
                                         GTlsCertificateFlags certificate_errors,
 
48
                                         const gchar *error_text,
 
49
                                         gboolean allow_source_save,
 
50
                                         GCancellable *cancellable,
 
51
                                         GAsyncReadyCallback callback,
 
52
                                         gpointer user_data);
 
53
gboolean        e_trust_prompt_run_for_source_finish
 
54
                                        (ESource *source,
 
55
                                         GAsyncResult *result,
 
56
                                         ETrustPromptResponse *response,
 
57
                                         GError **error);
 
58
 
 
59
#endif /* E_TRUST_PROMPT_H */