grim/purple-plugin-pack

d9e5e550d132
Backport part of Pidgin revision 35800b680594b4a9a13085c006dbde401d9ab541
(including the fix in 1acb1cc0f7e5947393c4af3ef1a2cc7266aa1317):
"I also made it so any custom AUTO*_FLAGS specified will override the default
arguments instead of just appending to them." --nosnilmot
/*
* 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 IGNORANCE_DENIZEN_H
#define IGNORANCE_DENIZEN_H
#include <string.h>
#include "ignorance.h"
typedef struct ignorance_denizen{
gchar *name;
gchar *last_message;
gint repeats;
} ignorance_denizen;
ignorance_denizen* ignorance_denizen_new(const gchar *newname);
void ignorance_denizen_free(ignorance_denizen *denizen);
gchar* ignorance_denizen_get_name(ignorance_denizen *id);
gchar* ignorance_denizen_get_last_message(ignorance_denizen *id);
gint ignorance_denizen_get_repeats(ignorance_denizen *id);
gint ignorance_denizen_set_message(ignorance_denizen *id, const gchar *message);
#endif