1 /******************************************************************************/
3 /* GPL license, Copyright (c) 2005-2006 by: */
6 /* Michael Dominic K. <michaldominik@gmail.com> */
8 /* This program is free software; you can redistribute it and/or modify it */
9 /* under the terms of the GNU General Public License as published by the */
10 /* Free Software Foundation; either version 2, or (at your option) any later */
13 /* This program is distributed in the hope that it will be useful, but */
14 /* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY */
15 /* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License */
16 /* for more details. */
18 /* You should have received a copy of the GNU General Public License along */
19 /* with this program; if not, write to the Free Software Foundation, Inc., 59 */
20 /* Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22 /******************************************************************************/
24 static GObjectClass* ParentClass = NULL;
26 struct _NFlickApiRequestPrivate
33 static void nflick_api_request_class_init (NFlickApiRequestClass *klass);
35 static void nflick_api_request_init (NFlickApiRequest *self);
37 static gboolean private_init (NFlickApiRequest *self, NFlickApiRequestPrivate *private);
39 static void private_dispose (NFlickApiRequestPrivate *private);
41 static void nflick_api_request_dispose (NFlickApiRequest *self);
43 static void nflick_api_request_finalize (NFlickApiRequest *self);
45 static gchar* get_path (NFlickApiRequest *self);
47 static void foreach_composer_list (gchar *param, gchar *val, GList **list);
49 static void foreach_composer_str (gchar *val, gchar **str);
51 static gchar* get_path_sig (NFlickApiRequest *self);
53 static void foreach_composer_list_sig (gchar *param, gchar *val, GList **list);
55 static void foreach_composer_str_sig (gchar *val, gchar **str);
57 static int block_reader (NFlickApiRequest *self, gchar *buffer, int len);