Updated to release 1.10.0
[siplcs.git] / src / api / sipe-core.h
blobc4a9e9b8b372d9ee8227f2bf3f83e801e8d1c4ee
1 /**
2 * @file sipe-core.h
4 * pidgin-sipe
6 * Copyright (C) 2010 SIPE Project <http://sipe.sourceforge.net/>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 /**
24 * Initialize & destroy functions for the SIPE core
25 * Should be called on loading and unloading of the plugin.
27 void sipe_core_init(void);
28 void sipe_core_destroy(void);
30 /** Utility functions exported by the core to backends ***********************/
32 gboolean sipe_strequal(const gchar *left, const gchar *right);
34 /*****************************************************************************/
36 /**
37 * Other functions (need to be sorted once structure becomes clear.
39 struct sipe_account_data;
41 /* Get translated about string. Must be g_free'd(). */
42 gchar *sipe_core_about(void);
44 /* menu actions */
45 void sipe_core_update_calendar(struct sipe_account_data *sip);
46 void sipe_core_reset_status(struct sipe_account_data *sip);