view libpurple/protocols/jabber/oob.h @ 30107:08957bb38e30

jabber: Check at connection time that the user specified a JID with a node. This was reported by Florian Quze as http://crash-stats.instantbird.com/report/index/6747f742-f02e-4ccf-8214-0ad152100325. The only way I can see that happening is if jid->node is NULL (i.e. my account username is something like "darkrain42.org").
author Paul Aurich <paul@darkrain42.org>
date Sat, 10 Apr 2010 19:43:04 +0000
parents c585572e80dd
children
line wrap: on
line source

/**
 * @file oob.h out-of-band transfer functions
 *
 * purple
 *
 * 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_OOB_H_
#define PURPLE_JABBER_OOB_H_

#include "jabber.h"

void jabber_oob_parse(JabberStream *js, const char *from, JabberIqType type,
                      const char *id, xmlnode *querynode);

#endif /* PURPLE_JABBER_OOB_H_ */