/* Copyright (C) 2000,2001,2002 Manuel Amador (Rudd-O)
This file is part of Directory administrator.
Directory administrator 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.1 of
the License, or (at your option) any later version.
Directory administrator 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 Directory administrator; if not, send e-mail to amador@alomega.com
*/
#include "groups.h"
#include "pairs.h"
#include "appfunctions.h"
#include "usergrouplists.h"
#include "dir_entry.h"
#include <glib.h>
void fuckyou (void);
void
fuckyou (void)
{
gulong a = 0;
GList* directory_data;
while (a < 10000000)
{
a++;
/*test code*/
g_list_foreach (cached_dir_entries,(GFunc) dir_entry_destroy, NULL);
g_list_free (cached_dir_entries);
cached_dir_entries = NULL;
directory_data = refresh_directory_data(current_connection_profile);
//directory_data = NULL;
cached_dir_entries = directory_data;
//end test code
}
}
syntax highlighted by Code2HTML, v. 0.9.1