finch/gntui.h

Sun, 26 Oct 2008 17:23:40 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Sun, 26 Oct 2008 17:23:40 +0000
changeset 24520
726138a1c69b
parent 19859
71d37b57eff2
child 35449
c5f8cb0fb8ef
permissions
-rw-r--r--

Perform some sanity checking on inbound IQs and send an error / drop as needed.
This has the effect of preventing us from sending an invalid response when we
get an invalid request (e.g. missing an id).
Fixes #7290.

/**
 * finch
 *
 * Finch 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 _GNT_UI_H
#define _GNT_UI_H

#include "gnt.h"

void gnt_ui_init(void);
void gnt_ui_uninit(void);

#endif

mercurial