m_match_media_script: Remove unused parameter
[libquvi.git] / src / _quvi_s.h
blob54f2849602a311e3f13a2c885d6cbf3cb6a518fc
1 /* libquvi
2 * Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301 USA
20 #ifndef _quvi_s_h
21 #define _quvi_s_h
23 typedef gint (*quvi_callback_fetch)(gpointer);
24 typedef gint (*quvi_callback_resolve)(gpointer);
25 typedef gint (*quvi_callback_verify)(gpointer);
27 struct _quvi_s
29 struct
31 quvi_callback_resolve resolve;
32 quvi_callback_status status;
33 quvi_callback_verify verify;
34 quvi_callback_fetch fetch;
35 } cb;
36 struct
38 gboolean autoproxy;
39 struct
41 gboolean verbose; /* LIBQUVI_VERBOSE_SCRIPTS */
42 } scripts;
43 } opt;
44 struct
46 GString *errmsg;
47 glong resp_code;
48 QuviError rc;
49 } status;
50 struct
52 gpointer proxy;
53 gpointer curl;
54 gpointer lua;
55 } handle;
56 struct
58 struct
60 GSList *playlist;
61 GSList *media;
62 GSList *scan;
63 } curr;
64 GSList *playlist;
65 GSList *media;
66 GSList *scan;
67 GSList *util;
68 } scripts;
71 typedef struct _quvi_s *_quvi_t;
73 #endif /* _quvi_s_h */
75 /* vim: set ts=2 sw=2 tw=72 expandtab: */