2 * @file sipe-subscriptions.h
6 * Copyright (C) 2010-2013 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 /* Forward declarations */
24 struct sipe_core_private
;
28 * Subscriptions subsystem
30 void sipe_subscriptions_init(struct sipe_core_private
*sipe_private
);
31 void sipe_subscriptions_unsubscribe(struct sipe_core_private
*sipe_private
);
32 void sipe_subscriptions_destroy(struct sipe_core_private
*sipe_private
);
37 void sipe_subscribe_conference(struct sipe_core_private
*sipe_private
,
41 void sipe_subscribe_presence_single(struct sipe_core_private
*sipe_private
,
44 void sipe_subscribe_presence_single_cb(struct sipe_core_private
*sipe_private
,
46 void sipe_subscribe_presence_batched(struct sipe_core_private
*sipe_private
);
47 void sipe_subscribe_poolfqdn_resource_uri(const gchar
*host
,
49 struct sipe_core_private
*sipe_private
);
52 * Subscribe to all events the server supports after first registration
54 * @param sipe_private SIPE core private data
56 void sipe_subscription_self_events(struct sipe_core_private
*sipe_private
);