Update copyright notices
[libmpd.git] / example / speedtest / test-mpdata.c
blob585940586bcca73fd9e8f09ab9db4ac96b530097
1 /* libmpd (high level libmpdclient library)
2 * Copyright (C) 2004-2009 Qball Cow <qball@sarine.nl>
3 * Project homepage: http://gmpcwiki.sarine.nl/
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #include <stdio.h>
21 #include "libmpd.h"
22 #include "libmpd-internal.h"
25 int main(int argc, char **argv)
27 MpdData *data = NULL;
28 int i = 0;
29 for(i=0; i < 10000000;i++)
32 data =mpd_new_data_struct_append(data);
34 do{
39 }while((data = mpd_data_get_next(data)));