conference: conference initiation
[siplcs.git] / src / sipe-conf.h
blobfc4dbc5fa357438a623050cffe09ed3cad012718
1 /**
2 * @file sipe-conf.h
4 * pidgin-sipe
6 * Copyright (C) 2009 pier11 <pier11@kinozal.tv>
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 declaration */
24 struct sip_session;
26 /**
27 * Creates conference.
29 void
30 sipe_conf_add(struct sipe_account_data *sip,
31 const gchar* who);
33 /**
34 * Processes incoming INVITE with
35 * Content-Type: application/ms-conf-invite+xml
36 * i.e. invitation to join conference.
38 * Server 2007+ functionality.
40 void
41 process_incoming_invite_conf(struct sipe_account_data *sip,
42 struct sipmsg *msg);
44 /**
45 * Process of conference state
46 * Content-Type: application/conference-info+xml
48 void
49 sipe_process_conference(struct sipe_account_data *sip,
50 struct sipmsg * msg);
52 /**
53 * Invites counterparty to join conference.
54 */
55 void
56 sipe_invite_conf(struct sipe_account_data *sip,
57 struct sip_session *session,
58 const gchar* who);
60 /**
61 * Invokes when we leave conversation.
62 * Usually by closing chat wingow.
64 void
65 conf_session_close(struct sipe_account_data *sip,
66 struct sip_session *session);
68 /**
69 * Invoked to process message delivery notification
70 * in conference.
71 */
72 void
73 sipe_process_imdn(struct sipe_account_data *sip,
74 struct sipmsg *msg);