tls: internalize state handling
[siplcs.git] / src / core / sipe-groupchat.h
blobf1d2a07bd6a6947305db40cd8f4f94ce04e88014
1 /**
2 * @file sipe-groupchat.h
4 * pidgin-sipe
6 * Copyright (C) 2010 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 sip_dialog;
25 struct sip_session;
26 struct sipe_chat_session;
27 struct sipe_core_private;
29 void sipe_groupchat_free(struct sipe_core_private *sipe_private);
30 void sipe_groupchat_init(struct sipe_core_private *sipe_private);
31 void sipe_groupchat_invite_failed(struct sipe_core_private *sipe_private,
32 struct sip_session *session);
33 void sipe_groupchat_invite_response(struct sipe_core_private *sipe_private,
34 struct sip_dialog *dialog);
35 void process_incoming_info_groupchat(struct sipe_core_private *sipe_private,
36 struct sipmsg *msg,
37 struct sip_session *session);
38 void sipe_groupchat_send(struct sipe_core_private *sipe_private,
39 struct sipe_chat_session *chat_session,
40 const gchar *what);
41 void sipe_groupchat_leave(struct sipe_core_private *sipe_private,
42 struct sipe_chat_session *chat_session);
43 void sipe_groupchat_rejoin(struct sipe_core_private *sipe_private,
44 struct sipe_chat_session *chat_session);