http: refactor connection data structure handling
[siplcs.git] / src / core / sipe-ews.h
blob486e25043f420612246c4368690c643ef95442f1
1 /**
2 * @file sipe-ews.h
4 * pidgin-sipe
6 * Copyright (C) 2010 SIPE Project <http://sipe.sourceforge.net/>
7 * Copyright (C) 2009 pier11 <pier11@operamail.com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 /* Forward declarations */
25 struct sipe_calendar;
26 struct sipe_core_private;
28 /**
29 * Connects to Exchange 2007/2010 Server's Web Services,
30 * pulls out our Availability and Out-of-Office (OOF) information
31 * and publishes it to Communications server.
33 * Advised schedule: 30 minutes.
35 void
36 sipe_ews_update_calendar(struct sipe_core_private *sipe_private);
38 /**
39 * Returns OOF note if enabled in the moment
40 * otherwise NULL.
42 char *
43 sipe_ews_get_oof_note(struct sipe_calendar *cal);