libpurple/protocols/qq/sys_msg.h

Sat, 02 Jun 2007 12:05:50 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Sat, 02 Jun 2007 12:05:50 +0000
branch
release-2.1.0
changeset 18092
1a2362194473
parent 15884
4de1981757fc
child 18068
b6554e3c8224
child 19859
71d37b57eff2
permissions
-rw-r--r--

Mostly taken from the patch on ticket #410, don't send unknown slash
commands as messages on protocols where slash commands are "native". This
is determined by using a new OPT_PROTO_SLASH_COMMAND_NATIVE protocol
option, so this only goes in the 2.1.0 branch. Fixes #410.

/**
 * @file sys_msg.h
 *
 * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef _QQ_SYS_MSG_H_
#define _QQ_SYS_MSG_H_

#include <glib.h>
#include "connection.h"

void qq_process_msg_sys(guint8 *buf, gint buf_len, guint16 seq, PurpleConnection *gc);

#endif

mercurial