Mercurial > pidgin.yaz
view src/protocols/jabber/xdata.h @ 8562:e3c059c3d92d
[gaim-migrate @ 9306]
" This patch adds a call-back slot to the
GaimPluginProtocolInfo structure which allows a prpl to
receive notification when a chat invitation has been
rejected by the local user.
The patch modifies server.c to trigger the call-back,
and adds NULL entries into the existing protocols to
make them match the updated ABI.
This is necessary for a protocol plugin which I have
written, as the protocol needs to take action in the
event of a conference rejection. It is my understanding
that the Yahoo prpl may also benefit from this patch
(it's supposed to be sending the rejection upstream to
the server too, as I understand it)" --Christopher (siege) O'Brien
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 02 Apr 2004 06:54:52 +0000 |
parents | 387ba791d5f9 |
children |
line wrap: on
line source
/** * @file xdata.h utility functions * * gaim * * Copyright (C) 2003 Nathan Walp <faceprint@faceprint.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _GAIM_JABBER_XDATA_H_ #define _GAIM_JABBER_XDATA_H_ #include "jabber.h" #include "xmlnode.h" typedef void (*jabber_x_data_cb)(JabberStream *js, xmlnode *result, gpointer user_data); void *jabber_x_data_request(JabberStream *js, xmlnode *packet, jabber_x_data_cb cb, gpointer user_data); #endif /* _GAIM_JABBER_XDATA_H_ */