grim/purple-plugin-pack

e11fec57fef1
a bunch of cleanups to the datetime stuff in irssi

removed the _get_day and _get_month functions and replaced them with a _get_day_and_month function
avoided a need for local time_t's and instead made the _get_day_and_month function return it
avoided allocating memory when it wasn't necessary
/*--------------------------------------------------------------------------*
* AUTOPROFILE *
* *
* A Purple away message and profile manager that supports dynamic text *
* *
* AutoProfile is the legal property of its developers. 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 *
*--------------------------------------------------------------------------*/
/* Size definitions (0 indicates not compatible) */
#define AP_SIZE_MAXIMUM 2048
/* Profile sizes */
#define AP_SIZE_PROFILE_MAX 2048
#define AP_SIZE_PROFILE_AIM 2048
#define AP_SIZE_PROFILE_ICQ 0
#define AP_SIZE_PROFILE_JABBER 0
#define AP_SIZE_PROFILE_MSN 0
#define AP_SIZE_PROFILE_YAHOO 0
/* Away message sizes */
#define AP_SIZE_AWAY_MAX 2048
#define AP_SIZE_AWAY_AIM 2048
/* Available message sizes */
#define AP_SIZE_AVAILABLE_MAX 512
#define AP_SIZE_AVAILABLE_AIM 60
#define AP_SIZE_AVAILABLE_ICQ 0
// jabber
#define AP_SIZE_AVAILABLE_MSN 0
#define AP_SIZE_AVAILABLE_YAHOO 512
/* End size definitions */