I've been holding off working around this crash in the hope that I'd be
able to reproduce it and track down the real problem. I didn't manage to,
and if we're releasing soonish it's probably best to try and avoid crashing.
/**
* @file connection.h Connection API
* @ingroup core
*
* gaim
*
* Gaim 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
*
* @see @ref connection-signals
*/
#ifndef _GAIM_CONNECTION_H_
#define _GAIM_CONNECTION_H_
#include<stdlib.h>
#include<time.h>
typedefstruct_GaimConnectionGaimConnection;
/**
* Flags to change behavior of the client for a given connection.
*/
typedefenum
{
GAIM_CONNECTION_HTML=0x0001,/**< Connection sends/receives in 'HTML'. */
GAIM_CONNECTION_NO_BGCOLOR=0x0002,/**< Connection does not send/receive
background colors. */
GAIM_CONNECTION_AUTO_RESP=0x0004,/**< Send auto responses when away. */
GAIM_CONNECTION_FORMATTING_WBFO=0x0008,/**< The text buffer must be formatted as a whole */
GAIM_CONNECTION_NO_NEWLINES=0x0010,/**< No new lines are allowed in outgoing messages */
GAIM_CONNECTION_NO_FONTSIZE=0x0020,/**< Connection does not send/receive font sizes */
GAIM_CONNECTION_NO_URLDESC=0x0040,/**< Connection does not support descriptions with links */
GAIM_CONNECTION_NO_IMAGES=0x0080,/**< Connection does not support sending of images */