media: fix relay-info with Farstream 0.2
[siplcs.git] / src / core / sipe-ocs2005.h
blob35274bd0188d2720085152c67ebd630707adbb9a
1 /**
2 * @file sipe-ocs2005.h
4 * pidgin-sipe
6 * Copyright (C) 2011 SIPE Project <http://sipe.sourceforge.net/>
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_xml;
26 struct sipe_core_private;
28 /**
29 * OCS2005 status ID, availability & activity
31 const gchar *sipe_ocs2005_status_from_activity_availability(guint activity,
32 guint availablity);
33 const gchar *sipe_ocs2005_activity_description(guint activity);
35 /**
36 * Publish status (OCS2005)
38 void sipe_ocs2005_presence_publish(struct sipe_core_private *sipe_private,
39 gboolean do_publish_calendar);
40 void sipe_ocs2005_reset_status(struct sipe_core_private *sipe_private);
41 void sipe_ocs2005_user_info_has_updated(struct sipe_core_private *sipe_private,
42 const struct _sipe_xml *xn_userinfo);
43 void sipe_ocs2005_apply_calendar_status(struct sipe_core_private *sipe_private,
44 struct sipe_buddy *sbuddy,
45 const char *status_id);
46 void sipe_ocs2005_schedule_status_update(struct sipe_core_private *sipe_private,
47 time_t calculate_from);
50 Local Variables:
51 mode: c
52 c-file-style: "bsd"
53 indent-tabs-mode: t
54 tab-width: 8
55 End: