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
28 void quvi_free(quvi_t
);
30 void quvi_set(quvi_t
, QuviOption
, ...);
31 void quvi_get(quvi_t
, QuviInfo
, ...);
35 QuviBoolean
quvi_script_next(quvi_t
, QuviScriptType
);
36 void quvi_script_get(quvi_t
, QuviScriptType
, QuviScriptProperty
, ...);
40 quvi_media_t
quvi_media_new(quvi_t
, const char*);
41 void quvi_media_free(quvi_media_t
);
43 void quvi_media_get(quvi_media_t
, QuviMediaProperty
, ...);
45 QuviBoolean
quvi_media_stream_next(quvi_media_t
);
46 void quvi_media_stream_reset(quvi_media_t
);
48 void quvi_media_stream_select(quvi_media_t
, const char*);
49 void quvi_media_stream_choose_best(quvi_media_t
);
53 quvi_playlist_t
quvi_playlist_new(quvi_t
, const char*);
54 void quvi_playlist_free(quvi_playlist_t
);
56 void quvi_playlist_get(quvi_playlist_t
, QuviPlaylistProperty
, ...);
58 QuviBoolean
quvi_playlist_media_next(quvi_playlist_t
);
59 void quvi_playlist_media_reset(quvi_playlist_t
);
63 quvi_scan_t
quvi_scan_new(quvi_t
, const char*);
64 void quvi_scan_free(quvi_scan_t
);
66 const char *quvi_scan_next_media_url(quvi_scan_t
);
70 quvi_resolve_t
quvi_resolve_new(quvi_t
, const char*);
71 void quvi_resolve_free(quvi_resolve_t
);
73 QuviBoolean
quvi_resolve_forwarded(quvi_resolve_t
);
74 const char *quvi_resolve_destination_url(quvi_resolve_t
);
78 quvi_http_metainfo_t
quvi_http_metainfo_new(quvi_t
, const char*);
79 void quvi_http_metainfo_free(quvi_http_metainfo_t
);
81 void quvi_http_metainfo_get(quvi_http_metainfo_t
,
82 QuviHTTPMetaInfoProperty
, ...);
86 QuviBoolean
quvi_supports(quvi_t
, const char*,
87 QuviSupportsMode
, QuviSupportsType
);
89 const char *quvi_version(QuviVersion
);
91 const char *quvi_errmsg(quvi_t
);
92 QuviBoolean
quvi_ok(quvi_t
);
96 #endif /* __cplusplus */
100 /* vim: set ts=2 sw=2 tw=72 expandtab: */