1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
|
<HTML>
<HEAD>
<TITLE>XINE, A Free Video Player Project - API reference</TITLE>
<IMG SRC="xine_logo.png" alt="xine logo" ALIGN=CENTER WIDTH=100% CELLPADDING=0 BORDER=0>
</HEAD>
<BODY BGCOLOR=#000000 TEXT=#ccccFF LINK=#a0a0FF VLINK=#40ddff ALINK=#ffffff leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Generated by Doxygen 1.2.8 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
<hr><h1>xine.h</h1><a href="xine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/* !! DO NO EDIT THIS FILE, it is automatically generated */</font>
00031 <font class="comment">/*</font>
00032 <font class="comment"> * $Id: xine_8h-source.html,v 1.2 2001/09/16 23:13:45 f1rmb Exp $</font>
00033 <font class="comment"> *</font>
00034 <font class="comment"> */</font>
00035
00036 <font class="preprocessor">#ifndef HAVE_XINE_H</font>
00037 <font class="preprocessor"></font><font class="preprocessor">#define HAVE_XINE_H</font>
00038 <font class="preprocessor"></font>
00039 <font class="preprocessor">#ifdef __cplusplus</font>
00040 <font class="preprocessor"></font><font class="keyword">extern</font> <font class="stringliteral">"C"</font> {
00041 <font class="preprocessor">#endif</font>
00042 <font class="preprocessor"></font>
00043 <font class="preprocessor">#include <inttypes.h></font>
00044 <font class="preprocessor">#include <unistd.h></font>
00045 <font class="preprocessor">#include <sys/types.h></font>
00046
00047 <font class="preprocessor">#ifndef XINE_COMPILE</font>
00048 <font class="preprocessor"></font><font class="preprocessor">#include <xine/video_out.h></font>
00049 <font class="preprocessor">#endif</font>
00050 <font class="preprocessor"></font>
00051 <font class="preprocessor">#ifndef DOC_HIDDEN</font>
00052 <font class="preprocessor"></font><font class="preprocessor">#include <xine/events.h></font>
00053 <font class="preprocessor">#endif</font>
00054 <font class="preprocessor"></font>
<a name="l00059"></a><a class="code" href="xine_8h.html#a0">00059</a> <font class="preprocessor">#define XINE_SKINDIR "/usr/local/share/xine/skins"</font>
00060 <font class="preprocessor"></font>
00070 <font class="preprocessor">#define XINE_BUILD_CC "gcc version 2.95.3 20010315 (release)"</font>
00071 <font class="preprocessor"></font>
00074 <font class="preprocessor">#define XINE_BUILD_OS "Linux 2.4.8 i686"</font>
00075 <font class="preprocessor"></font>
00078 <font class="preprocessor">#define XINE_BUILD_DATE "Mon 17 Sep 2001 00:59:15"</font>
00079 <font class="preprocessor"></font>
00097 <font class="preprocessor">#define XINE_STOP 0</font>
00098 <font class="preprocessor"></font>
00103 <font class="preprocessor">#define XINE_PLAY 1</font>
00104 <font class="preprocessor"></font>
00109 <font class="preprocessor">#define XINE_QUIT 2</font>
00110 <font class="preprocessor"></font>
00122 <font class="preprocessor">#define XINE_MAJOR_VERSION 0</font>
00123 <font class="preprocessor"></font>
00127 <font class="preprocessor">#define XINE_MINOR_VERSION 9</font>
00128 <font class="preprocessor"></font>
00132 <font class="preprocessor">#define XINE_SUB_VERSION 1</font>
00133 <font class="preprocessor"></font>
00148 <font class="keywordtype">char</font> *<a class="code" href="xine_8h.html#a0">xine_get_str_version</a>(<font class="keywordtype">void</font>);
00149
00157 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a1">xine_get_major_version</a>(<font class="keywordtype">void</font>);
00158
00166 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a2">xine_get_minor_version</a>(<font class="keywordtype">void</font>);
00167
00175 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a3">xine_get_sub_version</a>(<font class="keywordtype">void</font>);
00176
00187 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a4">xine_check_version</a>(<font class="keywordtype">int</font> major, <font class="keywordtype">int</font> minor, <font class="keywordtype">int</font> sub);
00188
00205 <font class="preprocessor">#define VO_CAP_HUE 0x00000010</font>
00206 <font class="preprocessor"></font>
00210 <font class="preprocessor">#define VO_CAP_SATURATION 0x00000020</font>
00211 <font class="preprocessor"></font>
00215 <font class="preprocessor">#define VO_CAP_BRIGHTNESS 0x00000040</font>
00216 <font class="preprocessor"></font>
00220 <font class="preprocessor">#define VO_CAP_CONTRAST 0x00000080</font>
00221 <font class="preprocessor"></font>
00225 <font class="preprocessor">#define VO_CAP_COLORKEY 0x00000100</font>
00226 <font class="preprocessor"></font>
00239 <font class="preprocessor">#define VO_PROP_INTERLACED 0</font>
00240 <font class="preprocessor"></font>
00245 <font class="preprocessor">#define VO_PROP_ASPECT_RATIO 1</font>
00246 <font class="preprocessor"></font>
00251 <font class="preprocessor">#define VO_PROP_HUE 2</font>
00252 <font class="preprocessor"></font>
00257 <font class="preprocessor">#define VO_PROP_SATURATION 3</font>
00258 <font class="preprocessor"></font>
00263 <font class="preprocessor">#define VO_PROP_CONTRAST 4</font>
00264 <font class="preprocessor"></font>
00269 <font class="preprocessor">#define VO_PROP_BRIGHTNESS 5</font>
00270 <font class="preprocessor"></font>
00275 <font class="preprocessor">#define VO_PROP_COLORKEY 6</font>
00276 <font class="preprocessor"></font>
00281 <font class="preprocessor">#define VO_PROP_SOFT_DEINTERLACE 7</font>
00282 <font class="preprocessor"></font>
00287 <font class="preprocessor">#define VO_NUM_PROPERTIES 8</font>
00288 <font class="preprocessor"></font>
<a name="l00302"></a><a class="code" href="group__video__ratio.html#a0">00302</a> <font class="preprocessor">#define ASPECT_AUTO 0</font>
00303 <font class="preprocessor"></font>
<a name="l00308"></a><a class="code" href="group__video__ratio.html#a1">00308</a> <font class="preprocessor">#define ASPECT_ANAMORPHIC 1</font>
00309 <font class="preprocessor"></font>
<a name="l00314"></a><a class="code" href="group__video__ratio.html#a2">00314</a> <font class="preprocessor">#define ASPECT_FULL 2</font>
00315 <font class="preprocessor"></font>
<a name="l00320"></a><a class="code" href="group__video__ratio.html#a3">00320</a> <font class="preprocessor">#define ASPECT_DVB 3</font>
00321 <font class="preprocessor"></font>
00324 <font class="preprocessor">#ifdef DOC_HIDDEN</font>
00325 <font class="preprocessor"></font>
00330 <font class="keyword">typedef</font> <font class="keywordtype">void</font> vo_frame_t;
00336 <font class="keyword">typedef</font> <font class="keywordtype">void</font> vo_overlay_t;
00337
00343 <font class="keyword">typedef</font> <font class="keyword">struct </font><a class="code" href="structvo__driver__s.html">vo_driver_s</a> <a class="code" href="structvo__driver__s.html">vo_driver_t</a>;
00344
00349 <font class="keyword">struct </font><a class="code" href="structvo__driver__s.html">vo_driver_s</a> {
00354 uint32_t (*get_capabilities) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self);
00359 vo_frame_t* (*alloc_frame) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self);
00364 void (*update_frame_format) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, vo_frame_t *img,
00365 uint32_t width, uint32_t height,
00366 <font class="keywordtype">int</font> ratio_code, <font class="keywordtype">int</font> format);
00370 void (*display_frame) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, vo_frame_t *vo_img);
00374 void (*overlay_blend) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, vo_frame_t *vo_img, vo_overlay_t *overlay);
00382 int (*get_property) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, <font class="keywordtype">int</font> property);
00387 int (*set_property) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self,
00388 <font class="keywordtype">int</font> property, <font class="keywordtype">int</font> value);
00393 void (*get_property_min_max) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self,
00394 <font class="keywordtype">int</font> property, <font class="keywordtype">int</font> *min, <font class="keywordtype">int</font> *max);
00401 int (*gui_data_exchange) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, <font class="keywordtype">int</font> data_type,
00402 <font class="keywordtype">void</font> *data);
00406 void (*exit) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self);
00407
00408 };
00409 <font class="preprocessor">#endif</font>
00410 <font class="preprocessor"></font>
00427 <font class="keyword">typedef</font> <font class="keywordtype">void</font> xine_t;
00432 <font class="keyword">typedef</font> <font class="keywordtype">void</font> ao_driver_t;
00438 <font class="preprocessor">#ifdef DOC_HIDDEN</font>
00439 <font class="preprocessor"></font><font class="keyword">typedef</font> <font class="keywordtype">void</font> cfg_data_t;
00445 <font class="keyword">typedef</font> <font class="keyword">struct </font><a class="code" href="structconfig__values__s.html">config_values_s</a> <a class="code" href="structconfig__values__s.html">config_values_t</a>;
00451 <font class="keyword">struct </font><a class="code" href="structconfig__values__s.html">config_values_s</a> {
00455 <font class="keywordtype">char</font>* (*lookup_str) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self,
00456 <font class="keywordtype">char</font> *key, <font class="keywordtype">char</font> *str_default);
00460 int (*lookup_int) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self,
00461 <font class="keywordtype">char</font> *key, <font class="keywordtype">int</font> n_default);
00465 void (*set_str) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self,
00466 <font class="keywordtype">char</font> *key, <font class="keywordtype">char</font> *value) ;
00470 void (*set_int) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self,
00471 <font class="keywordtype">char</font> *key, <font class="keywordtype">int</font> value) ;
00475 void (*save) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self);
00481 void (*read) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self, <font class="keywordtype">char</font> *filename);
<a name="l00485"></a><a class="code" href="structconfig__values__s.html#m6">00485</a> cfg_data_t *data;
00486 };
00487 <font class="preprocessor">#endif</font>
00488 <font class="preprocessor"></font>
00501 <a class="code" href="structconfig__values__s.html">config_values_t</a> *<a class="code" href="xine_8h.html#a0">config_file_init</a> (<font class="keywordtype">char</font> *filename);
00502
00513 <font class="keyword">typedef</font> void (*gui_stream_end_cb_t) (<font class="keywordtype">int</font> nStatus);
00518 <font class="keyword">typedef</font> <font class="keywordtype">char</font>* (*gui_get_next_mrl_cb_t) (<font class="keywordtype">void</font>);
00523 <font class="keyword">typedef</font> void (*gui_branched_cb_t) (<font class="keywordtype">void</font>);
00524
<a name="l00539"></a><a class="code" href="group__demux__strategy.html#a0">00539</a> <font class="preprocessor">#define DEMUX_DEFAULT_STRATEGY 0</font>
00540 <font class="preprocessor"></font>
<a name="l00545"></a><a class="code" href="group__demux__strategy.html#a1">00545</a> <font class="preprocessor">#define DEMUX_REVERT_STRATEGY 1</font>
00546 <font class="preprocessor"></font>
<a name="l00551"></a><a class="code" href="group__demux__strategy.html#a2">00551</a> <font class="preprocessor">#define DEMUX_CONTENT_STRATEGY 2</font>
00552 <font class="preprocessor"></font>
<a name="l00557"></a><a class="code" href="group__demux__strategy.html#a3">00557</a> <font class="preprocessor">#define DEMUX_EXTENSION_STRATEGY 3</font>
00558 <font class="preprocessor"></font>
00579 xine_t *<a class="code" href="xine_8h.html#a1">xine_init</a> (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *vo,
00580 ao_driver_t *ao,
00581 <a class="code" href="structconfig__values__s.html">config_values_t</a> *config,
00582 gui_stream_end_cb_t stream_end_cb,
00583 gui_get_next_mrl_cb_t get_next_mrl_cb,
00584 gui_branched_cb_t branched_cb);
00585
00595 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a2">xine_exit</a> (xine_t *self);
00596
00617 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a0">xine_play</a> (xine_t *self, <font class="keywordtype">char</font> *MRL, <font class="keywordtype">int</font> start_pos, <font class="keywordtype">int</font> start_time);
00618
00629 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a1">xine_set_speed</a> (xine_t *self, <font class="keywordtype">int</font> speed);
00630
00639 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a2">xine_get_speed</a> (xine_t *self);
00640
00646 <font class="preprocessor">#define SPEED_PAUSE 0</font>
00647 <font class="preprocessor"></font>
00652 <font class="preprocessor">#define SPEED_SLOW_4 1</font>
00653 <font class="preprocessor"></font>
00658 <font class="preprocessor">#define SPEED_SLOW_2 2</font>
00659 <font class="preprocessor"></font>
00664 <font class="preprocessor">#define SPEED_NORMAL 4</font>
00665 <font class="preprocessor"></font>
00670 <font class="preprocessor">#define SPEED_FAST_2 8</font>
00671 <font class="preprocessor"></font>
00676 <font class="preprocessor">#define SPEED_FAST_4 16</font>
00677 <font class="preprocessor"></font>
00687 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a3">xine_set_av_offset</a> (xine_t *self, <font class="keywordtype">int</font> offset_pts);
00688
00697 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a4">xine_get_av_offset</a> (xine_t *self);
00698
00707 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a5">xine_stop</a> (xine_t *self);
00708
00717 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a6">xine_eject</a>(xine_t *self);
00718
00727 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a7">xine_get_status</a> (xine_t *self);
00728
00737 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a8">xine_get_current_position</a> (xine_t *self);
00738
00747 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a9">xine_get_current_time</a> (xine_t *self);
00748
00757 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a10">xine_get_stream_length</a> (xine_t *self);
00758
00767 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a11">xine_get_audio_channel</a> (xine_t *self);
00768
00777 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a12">xine_select_audio_channel</a> (xine_t *self, <font class="keywordtype">int</font> channel);
00778
00787 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a13">xine_get_spu_channel</a> (xine_t *self);
00788
00797 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a14">xine_select_spu_channel</a> (xine_t *self, <font class="keywordtype">int</font> channel);
00798
00815 <font class="keywordtype">char</font> **<a class="code" href="xine_8h.html#a0">xine_get_browsable_input_plugin_ids</a> (xine_t *self) ;
00816
<a name="l00829"></a><a class="code" href="group__mrl__types.html#a0">00829</a> <font class="preprocessor">#define mrl_unknown (0 << 0)</font>
00830 <font class="preprocessor"></font>
<a name="l00835"></a><a class="code" href="group__mrl__types.html#a1">00835</a> <font class="preprocessor">#define mrl_dvd (1 << 0)</font>
00836 <font class="preprocessor"></font>
<a name="l00841"></a><a class="code" href="group__mrl__types.html#a2">00841</a> <font class="preprocessor">#define mrl_vcd (1 << 1)</font>
00842 <font class="preprocessor"></font>
<a name="l00847"></a><a class="code" href="group__mrl__types.html#a3">00847</a> <font class="preprocessor">#define mrl_net (1 << 2)</font>
00848 <font class="preprocessor"></font>
<a name="l00853"></a><a class="code" href="group__mrl__types.html#a4">00853</a> <font class="preprocessor">#define mrl_rtp (1 << 3)</font>
00854 <font class="preprocessor"></font>
<a name="l00859"></a><a class="code" href="group__mrl__types.html#a5">00859</a> <font class="preprocessor">#define mrl_stdin (1 << 4)</font>
00860 <font class="preprocessor"></font>
<a name="l00865"></a><a class="code" href="group__mrl__types.html#a6">00865</a> <font class="preprocessor">#define mrl_file (1 << 5)</font>
00866 <font class="preprocessor"></font>
<a name="l00871"></a><a class="code" href="group__mrl__types.html#a7">00871</a> <font class="preprocessor">#define mrl_file_fifo (1 << 6)</font>
00872 <font class="preprocessor"></font>
<a name="l00877"></a><a class="code" href="group__mrl__types.html#a8">00877</a> <font class="preprocessor">#define mrl_file_chardev (1 << 7)</font>
00878 <font class="preprocessor"></font>
<a name="l00883"></a><a class="code" href="group__mrl__types.html#a9">00883</a> <font class="preprocessor">#define mrl_file_directory (1 << 8)</font>
00884 <font class="preprocessor"></font>
<a name="l00889"></a><a class="code" href="group__mrl__types.html#a10">00889</a> <font class="preprocessor">#define mrl_file_blockdev (1 << 9)</font>
00890 <font class="preprocessor"></font>
<a name="l00895"></a><a class="code" href="group__mrl__types.html#a11">00895</a> <font class="preprocessor">#define mrl_file_normal (1 << 10)</font>
00896 <font class="preprocessor"></font>
<a name="l00901"></a><a class="code" href="group__mrl__types.html#a12">00901</a> <font class="preprocessor">#define mrl_file_symlink (1 << 11)</font>
00902 <font class="preprocessor"></font>
<a name="l00907"></a><a class="code" href="group__mrl__types.html#a13">00907</a> <font class="preprocessor">#define mrl_file_sock (1 << 12)</font>
00908 <font class="preprocessor"></font>
<a name="l00913"></a><a class="code" href="group__mrl__types.html#a14">00913</a> <font class="preprocessor">#define mrl_file_exec (1 << 13)</font>
00914 <font class="preprocessor"></font>
<a name="l00919"></a><a class="code" href="group__mrl__types.html#a15">00919</a> <font class="preprocessor">#define mrl_file_backup (1 << 14)</font>
00920 <font class="preprocessor"></font>
<a name="l00925"></a><a class="code" href="group__mrl__types.html#a16">00925</a> <font class="preprocessor">#define mrl_file_hidden (1 << 15)</font>
00926 <font class="preprocessor"></font>
00934 <font class="preprocessor">#define MRL_ZERO(m) { \</font>
00935 <font class="preprocessor"> if((m)) { \</font>
00936 <font class="preprocessor"> if((m)->origin) \</font>
00937 <font class="preprocessor"> free((m)->origin); \</font>
00938 <font class="preprocessor"> if((m)->mrl) \</font>
00939 <font class="preprocessor"> free((m)->mrl); \</font>
00940 <font class="preprocessor"> if((m)->link) \</font>
00941 <font class="preprocessor"> free((m)->link); \</font>
00942 <font class="preprocessor"> (m)->origin = NULL; \</font>
00943 <font class="preprocessor"> (m)->mrl = NULL; \</font>
00944 <font class="preprocessor"> (m)->link = NULL; \</font>
00945 <font class="preprocessor"> (m)->type = 0; \</font>
00946 <font class="preprocessor"> (m)->size = (off_t) 0; \</font>
00947 <font class="preprocessor"> } \</font>
00948 <font class="preprocessor">}</font>
00949 <font class="preprocessor"></font>
00955 <font class="preprocessor">#define MRL_DUPLICATE(s, d) { \</font>
00956 <font class="preprocessor"> assert((s) != NULL); \</font>
00957 <font class="preprocessor"> assert((d) != NULL); \</font>
00958 <font class="preprocessor"> \</font>
00959 <font class="preprocessor"> if((s)->origin) { \</font>
00960 <font class="preprocessor"> if((d)->origin) { \</font>
00961 <font class="preprocessor"> (d)->origin = (char *) realloc((d)->origin, strlen((s)->origin) + 1); \</font>
00962 <font class="preprocessor"> sprintf((d)->origin, "%s", (s)->origin); \</font>
00963 <font class="preprocessor"> } \</font>
00964 <font class="preprocessor"> else \</font>
00965 <font class="preprocessor"> (d)->origin = strdup((s)->origin); \</font>
00966 <font class="preprocessor"> } \</font>
00967 <font class="preprocessor"> else \</font>
00968 <font class="preprocessor"> (d)->origin = NULL; \</font>
00969 <font class="preprocessor"> \</font>
00970 <font class="preprocessor"> if((s)->mrl) { \</font>
00971 <font class="preprocessor"> if((d)->mrl) { \</font>
00972 <font class="preprocessor"> (d)->mrl = (char *) realloc((d)->mrl, strlen((s)->mrl) + 1); \</font>
00973 <font class="preprocessor"> sprintf((d)->mrl, "%s", (s)->mrl); \</font>
00974 <font class="preprocessor"> } \</font>
00975 <font class="preprocessor"> else \</font>
00976 <font class="preprocessor"> (d)->mrl = strdup((s)->mrl); \</font>
00977 <font class="preprocessor"> } \</font>
00978 <font class="preprocessor"> else \</font>
00979 <font class="preprocessor"> (d)->mrl = NULL; \</font>
00980 <font class="preprocessor"> \</font>
00981 <font class="preprocessor"> if((s)->link) { \</font>
00982 <font class="preprocessor"> if((d)->link) { \</font>
00983 <font class="preprocessor"> (d)->link = (char *) realloc((d)->link, strlen((s)->link) + 1); \</font>
00984 <font class="preprocessor"> sprintf((d)->link, "%s", (s)->link); \</font>
00985 <font class="preprocessor"> } \</font>
00986 <font class="preprocessor"> else \</font>
00987 <font class="preprocessor"> (d)->link = strdup((s)->link); \</font>
00988 <font class="preprocessor"> } \</font>
00989 <font class="preprocessor"> else \</font>
00990 <font class="preprocessor"> (d)->link = NULL; \</font>
00991 <font class="preprocessor"> \</font>
00992 <font class="preprocessor"> (d)->type = (s)->type; \</font>
00993 <font class="preprocessor"> (d)->size = (s)->size; \</font>
00994 <font class="preprocessor">}</font>
00995 <font class="preprocessor"></font>
01001 <font class="preprocessor">#define MRLS_DUPLICATE(s, d) { \</font>
01002 <font class="preprocessor"> int i = 0; \</font>
01003 <font class="preprocessor"> \</font>
01004 <font class="preprocessor"> assert((s) != NULL); \</font>
01005 <font class="preprocessor"> assert((d) != NULL); \</font>
01006 <font class="preprocessor"> \</font>
01007 <font class="preprocessor"> while((s) != NULL) { \</font>
01008 <font class="preprocessor"> d[i] = (mrl_t *) malloc(sizeof(mrl_t)); \</font>
01009 <font class="preprocessor"> MRL_DUPLICATE(s[i], d[i]); \</font>
01010 <font class="preprocessor"> i++; \</font>
01011 <font class="preprocessor"> } \</font>
01012 <font class="preprocessor">}</font>
01013 <font class="preprocessor"></font>
01019 <font class="keyword">typedef</font> <font class="keyword">struct </font>{
<a name="l01021"></a><a class="code" href="structmrl__t.html#m0">01021</a> <font class="keywordtype">char</font> *origin;
<a name="l01023"></a><a class="code" href="structmrl__t.html#m1">01023</a> <font class="keywordtype">char</font> *mrl;
<a name="l01025"></a><a class="code" href="structmrl__t.html#m2">01025</a> <font class="keywordtype">char</font> *link;
<a name="l01027"></a><a class="code" href="structmrl__t.html#m3">01027</a> uint32_t type;
<a name="l01029"></a><a class="code" href="structmrl__t.html#m4">01029</a> off_t size;
01030 } <a class="code" href="structmrl__t.html">mrl_t</a>;
01031
01048 <a class="code" href="structmrl__t.html">mrl_t</a> **<a class="code" href="xine_8h.html#a1">xine_get_browse_mrls</a> (xine_t *self, <font class="keywordtype">char</font> *plugin_id, <font class="keywordtype">char</font> *start_mrl, <font class="keywordtype">int</font> *num_mrls);
01049
01065 <font class="keywordtype">char</font> **<a class="code" href="xine_8h.html#a0">xine_get_autoplay_input_plugin_ids</a> (xine_t *self) ;
01066
01077 <font class="keywordtype">char</font> **<a class="code" href="xine_8h.html#a1">xine_get_autoplay_mrls</a> (xine_t *self, <font class="keywordtype">char</font> *plugin_id, <font class="keywordtype">int</font> *num_mrls);
01078
<a name="l01092"></a><a class="code" href="group__loadplugins__group.html#a4">01092</a> <font class="preprocessor">#define XINE_PLUGINDIR "/usr/local/lib/xine/plugins"</font>
01093 <font class="preprocessor"></font>
01104 <font class="preprocessor">#define VISUAL_TYPE_X11 1</font>
01105 <font class="preprocessor"></font>
01110 <font class="preprocessor">#define VISUAL_TYPE_AA 2</font>
01111 <font class="preprocessor"></font>
01116 <font class="preprocessor">#define VISUAL_TYPE_FB 3</font>
01117 <font class="preprocessor"></font>
01122 <font class="preprocessor">#define VISUAL_TYPE_GTK 4</font>
01123 <font class="preprocessor"></font>
01133 <font class="keywordtype">char</font> **<a class="code" href="group__loadplugins__group.html#a0">xine_list_video_output_plugins</a> (<font class="keywordtype">int</font> visual_type);
01134
01144 <a class="code" href="structvo__driver__s.html">vo_driver_t</a> *<a class="code" href="group__loadplugins__group.html#a1">xine_load_video_output_plugin</a>(<a class="code" href="structconfig__values__s.html">config_values_t</a> *config,
01145 <font class="keywordtype">char</font> *id, <font class="keywordtype">int</font> visual_type, <font class="keywordtype">void</font> *visual);
01146
01152 <font class="keywordtype">char</font> **<a class="code" href="group__loadplugins__group.html#a2">xine_list_audio_output_plugins</a> (<font class="keywordtype">void</font>);
01153
01161 ao_driver_t *<a class="code" href="group__loadplugins__group.html#a3">xine_load_audio_output_plugin</a>(<a class="code" href="structconfig__values__s.html">config_values_t</a> *config, <font class="keywordtype">char</font> *id);
01162
01171 <font class="preprocessor">#ifdef DOC_HIDDEN</font>
01172 <font class="preprocessor"></font>
<a name="l01176"></a><a class="code" href="group__event__group.html#a0">01176</a> <font class="keyword">typedef</font> <font class="keywordtype">void</font> event_t;
01177 <font class="preprocessor">#endif</font>
01178 <font class="preprocessor"></font>
<a name="l01183"></a><a class="code" href="group__event__group.html#a1">01183</a> <font class="keyword">typedef</font> void (*event_listener_t) (xine_t *xine, event_t *event, <font class="keywordtype">void</font> *data);
01184
01193 <font class="keywordtype">int</font> <a class="code" href="group__event__group.html#a2">xine_register_event_listener</a>(xine_t *self, event_listener_t listener);
01194
01203 <font class="keywordtype">int</font> <a class="code" href="group__event__group.html#a3">xine_remove_event_listener</a>(xine_t *self, event_listener_t listener);
01204
01213 <font class="keywordtype">void</font> <a class="code" href="group__event__group.html#a4">xine_send_event</a>(xine_t *self, event_t *event, <font class="keywordtype">void</font> *data);
01214
01219 <font class="preprocessor">#ifdef __cplusplus</font>
01220 <font class="preprocessor"></font>}
01221 <font class="preprocessor">#endif</font>
01222 <font class="preprocessor"></font>
01223 <font class="preprocessor">#endif</font>
</font></pre></div><hr><address><small>Generated at Mon Sep 17 01:05:55 2001 for XINE, A Free Video Player Project - API reference by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.8 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|