libquvi
 All Files Functions Typedefs Enumerations Enumerator Macros Groups Pages
qfunc.h
1 /* libquvi
2  * Copyright (C) 2012-2013 Toni Gundogdu <legatvs@gmail.com>
3  *
4  * This file is part of libquvi <http://quvi.sourceforge.net/>.
5  *
6  * This library is free software: you can redistribute it and/or
7  * modify it under the terms of the GNU Affero General Public
8  * License as published by the Free Software Foundation, either
9  * version 3 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Affero General Public License for more details.
15  *
16  * You should have received a copy of the GNU Affero General
17  * Public License along with this library. If not, see
18  * <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef qfunc_h
22 #define qfunc_h
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28  quvi_t quvi_new(void);
29  void quvi_free(quvi_t);
30 
31  void quvi_set(quvi_t, QuviOption, ...);
32  void quvi_get(quvi_t, QuviInfo, ...);
33 
34  /* Script */
35 
38 
39  /* Media */
40 
41  quvi_media_t quvi_media_new(quvi_t, const char*);
43 
45 
48 
49  void quvi_media_stream_select(quvi_media_t, const char*);
51 
52  /* Playlist */
53 
56 
58 
61 
62  /* Scan */
63 
64  quvi_scan_t quvi_scan_new(quvi_t, const char*);
66 
68 
69  /* Resolve */
70 
73 
76 
77  /* HTTP meta-info */
78 
81 
84 
85  /* Subtitle */
86 
89 
92 
95 
98 
101 
103 
104  /* Subtitle - export */
105 
108 
110 
111  /* Convenience - file extension */
112 
115 
116  const char *quvi_file_ext_get(quvi_file_ext_t);
117 
118  /* Convenience */
119 
120  QuviBoolean quvi_supports(quvi_t, const char*,
122 
123  const char *quvi_version(QuviVersion);
124 
125  const char *quvi_errmsg(quvi_t);
128 
129 #ifdef __cplusplus
130 }
131 #endif /* __cplusplus */
132 
133 #endif /* qfunc_h */
134 
135 /* vim: set ts=2 sw=2 tw=72 expandtab: */