6 * Copyright (C) 2009-10 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 * Returns purple's chat name for provided chat identification in protocol.
29 * Stores newly created chat title if not yet exist.
31 * @param proto_chat_id for 2007 conference this is (gchar *) Focus URI,
32 * for 2005 multiparty chat this is (gchar *) Call-Id of the conversation.
34 * @return chat name. Must be g_free()'d after use
37 sipe_chat_get_name(const gchar
*proto_chat_id
);
40 * Returns protocol id for provided purple's chat name
42 * @param chat_name chat name
47 sipe_chat_find_name(const gchar
*chat_name
);
52 * @param sipe_private SIPE core private data
53 * @param session SIPE session for chat
56 sipe_process_pending_invite_queue(struct sipe_core_private
*sipe_private
,
57 struct sip_session
*session
);
62 * @param sipe_private SIPE core private data
63 * @param session SIPE session for chat
64 * @param who URI whom to invite to chat.
67 sipe_invite_to_chat(struct sipe_core_private
*sipe_private
,
68 struct sip_session
*session
,