1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
3 * Copyright (C) 2012 Red Hat, Inc.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General
16 * Public License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18 * Boston, MA 02111-1307, USA.
20 * Author: Debarshi Ray <debarshir@gnome.org>
23 /* XXX This is a rather hacked up version of GoaEwsClient from
24 * GNOME Online Accounts which returns the discovered URLs. */
26 #ifndef __GOA_EWS_CLIENT_H__
27 #define __GOA_EWS_CLIENT_H__
29 /* XXX Yeah, yeah... */
30 #define GOA_API_IS_SUBJECT_TO_CHANGE
36 void goa_ews_autodiscover (GoaObject *goa_object,
37 GCancellable *cancellable,
38 GAsyncReadyCallback callback,
40 gboolean goa_ews_autodiscover_finish (GoaObject *goa_object,
45 gboolean goa_ews_autodiscover_sync (GoaObject *goa_object,
48 GCancellable *cancellable,
53 #endif /* __GOA_EWS_CLIENT_H__ */