Update 'es' translation
[siplcs.git] / src / sipe-conf.h
blob8d32cbdbe0b5fc855f16c998c6ade27550e485b0
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 * Modify User Role.
62 * Sends request to Focus.
63 * INFO method is a carrier of application/cccp+xml
64 */
65 void
66 sipe_conf_modify_user_role(struct sipe_account_data *sip,
67 struct sip_session *session,
68 const gchar* who);
70 /**
71 * Modify Conference Lock.
72 * Sends request to Focus.
73 * INFO method is a carrier of application/cccp+xml
74 */
75 void
76 sipe_conf_modify_conference_lock(struct sipe_account_data *sip,
77 struct sip_session *session,
78 const gboolean locked);
80 /**
81 * Ejects user from conference.
82 * Sends request to Focus.
83 * INFO method is a carrier of application/cccp+xml
84 */
85 void
86 sipe_conf_delete_user(struct sipe_account_data *sip,
87 struct sip_session *session,
88 const gchar* who);
90 /**
91 * Invokes when we are ejected from conference
92 * for example or conference has been timed out.
94 void
95 sipe_conf_immcu_closed(struct sipe_account_data *sip,
96 struct sip_session *session);
98 /**
99 * Invokes when we leave conversation.
100 * Usually by closing chat wingow.
102 void
103 conf_session_close(struct sipe_account_data *sip,
104 struct sip_session *session);
106 /**
107 * Invoked to process message delivery notification
108 * in conference.
110 void
111 sipe_process_imdn(struct sipe_account_data *sip,
112 struct sipmsg *msg);