diff options
author | Marcus Lundblad <malu@pidgin.im> | 2010-04-09 22:14:51 +0000 |
---|---|---|
committer | Marcus Lundblad <malu@pidgin.im> | 2010-04-09 22:14:51 +0000 |
commit | 24f0a2f2edff9c48f57dd3607ad17b709470a1ff (patch) | |
tree | 6b54b7e275bd39b7e19888807fdfecb4e92dc972 /libpurple/protocols/jabber/google/google_roster.h | |
parent | 66e7384ffe7302c4a4689c662f5e43ad2772896f (diff) | |
parent | 1bfeea55ecc8c9f1b4ce9b5525d0db4b8b9216d5 (diff) | |
download | pidgin-24f0a2f2edff9c48f57dd3607ad17b709470a1ff.tar.gz |
propagate from branch 'im.pidgin.pidgin' (head 6eb46e96ade8acccef858c2bc7f6e4a4e0a1165b)
to branch 'im.pidgin.cpw.malu.xmpp.google_refactor' (head 2ca9f271ed5abe02634951a88d3222979c187e22)
Diffstat (limited to 'libpurple/protocols/jabber/google/google_roster.h')
-rw-r--r-- | libpurple/protocols/jabber/google/google_roster.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libpurple/protocols/jabber/google/google_roster.h b/libpurple/protocols/jabber/google/google_roster.h new file mode 100644 index 0000000000..34f6fa5d8c --- /dev/null +++ b/libpurple/protocols/jabber/google/google_roster.h @@ -0,0 +1,37 @@ +/** + * Purple is the legal property of its developers, whose names are too numerous + * to list here. Please refer to the COPYRIGHT file distributed with this + * source distribution. + * + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA + */ + +#ifndef PURPLE_JABBER_GOOGLE_ROSTER_H_ +#define PURPLE_JABBER_GOOGLE_ROSTER_H_ + +#include "jabber.h" + +void jabber_google_roster_outgoing(JabberStream *js, xmlnode *query, xmlnode *item); + +/* Returns FALSE if this should short-circuit processing of this roster item, or TRUE + * if this roster item should continue to be processed + */ +gboolean jabber_google_roster_incoming(JabberStream *js, xmlnode *item); + +void jabber_google_roster_add_deny(JabberStream *js, const char *who); +void jabber_google_roster_rem_deny(JabberStream *js, const char *who); + + +#endif /* PURPLE_JABBER_GOOGLE_ROSTER_H_ */ |