pidgin/purple-plugin-pack

Initial version of the stress prpl.

2009-08-28, Gary Kramlich
70f19b728285
Initial version of the stress prpl.

It works, but I still can't reproduce the gf2 crash. Either way, this is good for really stressing libpurple, despite the fact that it still needs some work
/*
* 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_CALLBACKS_H
#define IGNORANCE_CALLBACKS_H
#include <gtk/gtk.h>
#ifdef HAVE_REGEX_H
# include <regex.h>
#endif
enum{
LEVEL_COLUMN,
RULE_COLUMN,
NUM_COLUMNS
};
gboolean on_levelView_row_activated (GtkTreeSelection *sel, gpointer user_data);
void on_levelAdd_clicked (GtkButton *button, gpointer user_data);
void on_groupAdd_clicked (GtkButton *button, gpointer user_data);
void on_levelEdit_clicked (GtkButton *button, gpointer user_data);
void on_levelDel_clicked (GtkButton *button, gpointer user_data);
void on_sound_browse_clicked (GtkButton *button, gpointer user_data);
/*
void on_execute_browse_clicked (GtkButton *button, gpointer user_data);
*/
void on_filter_cb_toggled (GtkButton *button, gpointer user_data);
void on_ignore_cb_toggled (GtkButton *button, gpointer user_data);
void on_message_cb_toggled (GtkButton *button, gpointer user_data);
void on_sound_cb_toggled (GtkButton *button, gpointer user_data);
void on_execute_cb_toggled (GtkButton *button, gpointer user_data);
gboolean load_form_with_levels (GtkTreeView *tree, GPtrArray *levels);
#endif