2 * @file sipe-groupchat.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 */
27 struct sipe_chat_session
;
28 struct sipe_core_private
;
30 void sipe_groupchat_free(struct sipe_core_private
*sipe_private
);
31 void sipe_groupchat_init(struct sipe_core_private
*sipe_private
);
32 void sipe_groupchat_invite_failed(struct sipe_core_private
*sipe_private
,
33 struct sip_session
*session
);
34 void sipe_groupchat_invite_response(struct sipe_core_private
*sipe_private
,
35 struct sip_dialog
*dialog
,
36 struct sipmsg
*response
);
37 void process_incoming_info_groupchat(struct sipe_core_private
*sipe_private
,
39 struct sip_session
*session
);
40 void sipe_groupchat_send(struct sipe_core_private
*sipe_private
,
41 struct sipe_chat_session
*chat_session
,
43 void sipe_groupchat_leave(struct sipe_core_private
*sipe_private
,
44 struct sipe_chat_session
*chat_session
);
45 void sipe_groupchat_rejoin(struct sipe_core_private
*sipe_private
,
46 struct sipe_chat_session
*chat_session
);