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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
|
<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.3 2001/10/05 13:41:53 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.9-ac7 i686"</font>
00075 <font class="preprocessor"></font>
00078 <font class="preprocessor">#define XINE_BUILD_DATE "Fri 05 Oct 2001 14:06:23"</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>
<a name="l00326"></a><a class="code" href="group__video__ratio.html#a4">00326</a> <font class="preprocessor">#define ASPECT_SQUARE 4</font>
00327 <font class="preprocessor"></font>
<a name="l00332"></a><a class="code" href="group__video__ratio.html#a5">00332</a> <font class="preprocessor">#define NUM_ASPECT_RATIOS 5</font>
00333 <font class="preprocessor"></font>
00336 <font class="preprocessor">#ifdef DOC_HIDDEN</font>
00337 <font class="preprocessor"></font>
00342 <font class="keyword">typedef</font> <font class="keywordtype">void</font> vo_frame_t;
00348 <font class="keyword">typedef</font> <font class="keywordtype">void</font> vo_overlay_t;
00349
00355 <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>;
00356
00361 <font class="keyword">struct </font><a class="code" href="structvo__driver__s.html">vo_driver_s</a> {
00366 uint32_t (*get_capabilities) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self);
00371 vo_frame_t* (*alloc_frame) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self);
00376 void (*update_frame_format) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, vo_frame_t *img,
00377 uint32_t width, uint32_t height,
00378 <font class="keywordtype">int</font> ratio_code, <font class="keywordtype">int</font> format);
00382 void (*display_frame) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, vo_frame_t *vo_img);
00386 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);
00394 int (*get_property) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, <font class="keywordtype">int</font> property);
00399 int (*set_property) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self,
00400 <font class="keywordtype">int</font> property, <font class="keywordtype">int</font> value);
00405 void (*get_property_min_max) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self,
00406 <font class="keywordtype">int</font> property, <font class="keywordtype">int</font> *min, <font class="keywordtype">int</font> *max);
00413 int (*gui_data_exchange) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self, <font class="keywordtype">int</font> data_type,
00414 <font class="keywordtype">void</font> *data);
00418 void (*exit) (<a class="code" href="structvo__driver__s.html">vo_driver_t</a> *self);
00419
00420 };
00421 <font class="preprocessor">#endif</font>
00422 <font class="preprocessor"></font>
00439 <font class="keyword">typedef</font> <font class="keywordtype">void</font> xine_t;
00444 <font class="keyword">typedef</font> <font class="keywordtype">void</font> ao_driver_t;
00450 <font class="preprocessor">#ifdef DOC_HIDDEN</font>
00451 <font class="preprocessor"></font><font class="keyword">typedef</font> <font class="keywordtype">void</font> cfg_data_t;
00457 <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>;
00463 <font class="keyword">struct </font><a class="code" href="structconfig__values__s.html">config_values_s</a> {
00467 <font class="keywordtype">char</font>* (*lookup_str) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self,
00468 <font class="keywordtype">char</font> *key, <font class="keywordtype">char</font> *str_default);
00472 int (*lookup_int) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self,
00473 <font class="keywordtype">char</font> *key, <font class="keywordtype">int</font> n_default);
00477 void (*set_str) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self,
00478 <font class="keywordtype">char</font> *key, <font class="keywordtype">char</font> *value) ;
00482 void (*set_int) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self,
00483 <font class="keywordtype">char</font> *key, <font class="keywordtype">int</font> value) ;
00487 void (*save) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self);
00493 void (*read) (<a class="code" href="structconfig__values__s.html">config_values_t</a> *self, <font class="keywordtype">char</font> *filename);
<a name="l00497"></a><a class="code" href="structconfig__values__s.html#m6">00497</a> cfg_data_t *data;
00498 };
00499 <font class="preprocessor">#endif</font>
00500 <font class="preprocessor"></font>
00513 <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);
00514
00525 <font class="keyword">typedef</font> void (*gui_stream_end_cb_t) (<font class="keywordtype">int</font> nStatus);
00530 <font class="keyword">typedef</font> <font class="keywordtype">char</font>* (*gui_get_next_mrl_cb_t) (<font class="keywordtype">void</font>);
00535 <font class="keyword">typedef</font> void (*gui_branched_cb_t) (<font class="keywordtype">void</font>);
00536
<a name="l00551"></a><a class="code" href="group__demux__strategy.html#a0">00551</a> <font class="preprocessor">#define DEMUX_DEFAULT_STRATEGY 0</font>
00552 <font class="preprocessor"></font>
<a name="l00557"></a><a class="code" href="group__demux__strategy.html#a1">00557</a> <font class="preprocessor">#define DEMUX_REVERT_STRATEGY 1</font>
00558 <font class="preprocessor"></font>
<a name="l00563"></a><a class="code" href="group__demux__strategy.html#a2">00563</a> <font class="preprocessor">#define DEMUX_CONTENT_STRATEGY 2</font>
00564 <font class="preprocessor"></font>
<a name="l00569"></a><a class="code" href="group__demux__strategy.html#a3">00569</a> <font class="preprocessor">#define DEMUX_EXTENSION_STRATEGY 3</font>
00570 <font class="preprocessor"></font>
00591 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,
00592 ao_driver_t *ao,
00593 <a class="code" href="structconfig__values__s.html">config_values_t</a> *config,
00594 gui_stream_end_cb_t stream_end_cb,
00595 gui_get_next_mrl_cb_t get_next_mrl_cb,
00596 gui_branched_cb_t branched_cb);
00597
00607 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a2">xine_exit</a> (xine_t *self);
00608
00629 <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);
00630
00641 <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);
00642
00651 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a2">xine_get_speed</a> (xine_t *self);
00652
00658 <font class="preprocessor">#define SPEED_PAUSE 0</font>
00659 <font class="preprocessor"></font>
00664 <font class="preprocessor">#define SPEED_SLOW_4 1</font>
00665 <font class="preprocessor"></font>
00670 <font class="preprocessor">#define SPEED_SLOW_2 2</font>
00671 <font class="preprocessor"></font>
00676 <font class="preprocessor">#define SPEED_NORMAL 4</font>
00677 <font class="preprocessor"></font>
00682 <font class="preprocessor">#define SPEED_FAST_2 8</font>
00683 <font class="preprocessor"></font>
00688 <font class="preprocessor">#define SPEED_FAST_4 16</font>
00689 <font class="preprocessor"></font>
00699 <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);
00700
00709 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a4">xine_get_av_offset</a> (xine_t *self);
00710
00719 <font class="keywordtype">void</font> <a class="code" href="xine_8h.html#a5">xine_stop</a> (xine_t *self);
00720
00729 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a6">xine_eject</a>(xine_t *self);
00730
00739 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a7">xine_get_status</a> (xine_t *self);
00740
00749 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a8">xine_get_current_position</a> (xine_t *self);
00750
00759 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a9">xine_get_current_time</a> (xine_t *self);
00760
00769 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a10">xine_get_stream_length</a> (xine_t *self);
00770
00779 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a11">xine_get_audio_channel</a> (xine_t *self);
00780
00789 <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);
00790
00799 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a13">xine_get_spu_channel</a> (xine_t *self);
00800
00809 <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);
00810
00828 <font class="preprocessor">#define AO_CAP_NOCAP 0x00000000</font>
00829 <font class="preprocessor"></font>
00834 <font class="preprocessor">#define AO_CAP_MODE_A52 0x00000001</font>
00835 <font class="preprocessor"></font>
00840 <font class="preprocessor">#define AO_CAP_MODE_AC5 0x00000002</font>
00841 <font class="preprocessor"></font>
00847 <font class="preprocessor">#define AO_CAP_MODE_MONO 0x00000004</font>
00848 <font class="preprocessor"></font>
00854 <font class="preprocessor">#define AO_CAP_MODE_STEREO 0x00000008</font>
00855 <font class="preprocessor"></font>
00861 <font class="preprocessor">#define AO_CAP_MODE_4CHANNEL 0x00000010</font>
00862 <font class="preprocessor"></font>
00868 <font class="preprocessor">#define AO_CAP_MODE_5CHANNEL 0x00000020</font>
00869 <font class="preprocessor"></font>
00875 <font class="preprocessor">#define AO_CAP_MODE_5_1CHANNEL 0x00000040</font>
00876 <font class="preprocessor"></font>
00881 <font class="preprocessor">#define AO_CAP_MIXER_VOL 0x00000080</font>
00882 <font class="preprocessor"></font>
00887 <font class="preprocessor">#define AO_CAP_PCM_VOL 0x00000100</font>
00888 <font class="preprocessor"></font>
00893 <font class="preprocessor">#define AO_CAP_MUTE_VOL 0x00000200</font>
00894 <font class="preprocessor"></font>
00904 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a0">xine_get_audio_capabilities</a>(xine_t *self);
00905
00918 <font class="preprocessor">#define AO_PROP_MIXER_VOL 0</font>
00919 <font class="preprocessor"></font>
00924 <font class="preprocessor">#define AO_PROP_PCM_VOL 1</font>
00925 <font class="preprocessor"></font>
00930 <font class="preprocessor">#define AO_PROP_MUTE_VOL 2</font>
00931 <font class="preprocessor"></font>
00941 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a0">xine_get_audio_property</a>(xine_t *self, <font class="keywordtype">int</font> property);
00953 <font class="keywordtype">int</font> <a class="code" href="xine_8h.html#a1">xine_set_audio_property</a>(xine_t *self, <font class="keywordtype">int</font> property, <font class="keywordtype">int</font> value);
00954
00973 <font class="keywordtype">char</font> **<a class="code" href="xine_8h.html#a0">xine_get_browsable_input_plugin_ids</a> (xine_t *self) ;
00974
<a name="l00987"></a><a class="code" href="group__mrl__types.html#a0">00987</a> <font class="preprocessor">#define mrl_unknown (0 << 0)</font>
00988 <font class="preprocessor"></font>
<a name="l00993"></a><a class="code" href="group__mrl__types.html#a1">00993</a> <font class="preprocessor">#define mrl_dvd (1 << 0)</font>
00994 <font class="preprocessor"></font>
<a name="l00999"></a><a class="code" href="group__mrl__types.html#a2">00999</a> <font class="preprocessor">#define mrl_vcd (1 << 1)</font>
01000 <font class="preprocessor"></font>
<a name="l01005"></a><a class="code" href="group__mrl__types.html#a3">01005</a> <font class="preprocessor">#define mrl_net (1 << 2)</font>
01006 <font class="preprocessor"></font>
<a name="l01011"></a><a class="code" href="group__mrl__types.html#a4">01011</a> <font class="preprocessor">#define mrl_rtp (1 << 3)</font>
01012 <font class="preprocessor"></font>
<a name="l01017"></a><a class="code" href="group__mrl__types.html#a5">01017</a> <font class="preprocessor">#define mrl_stdin (1 << 4)</font>
01018 <font class="preprocessor"></font>
<a name="l01023"></a><a class="code" href="group__mrl__types.html#a6">01023</a> <font class="preprocessor">#define mrl_file (1 << 5)</font>
01024 <font class="preprocessor"></font>
<a name="l01029"></a><a class="code" href="group__mrl__types.html#a7">01029</a> <font class="preprocessor">#define mrl_file_fifo (1 << 6)</font>
01030 <font class="preprocessor"></font>
<a name="l01035"></a><a class="code" href="group__mrl__types.html#a8">01035</a> <font class="preprocessor">#define mrl_file_chardev (1 << 7)</font>
01036 <font class="preprocessor"></font>
<a name="l01041"></a><a class="code" href="group__mrl__types.html#a9">01041</a> <font class="preprocessor">#define mrl_file_directory (1 << 8)</font>
01042 <font class="preprocessor"></font>
<a name="l01047"></a><a class="code" href="group__mrl__types.html#a10">01047</a> <font class="preprocessor">#define mrl_file_blockdev (1 << 9)</font>
01048 <font class="preprocessor"></font>
<a name="l01053"></a><a class="code" href="group__mrl__types.html#a11">01053</a> <font class="preprocessor">#define mrl_file_normal (1 << 10)</font>
01054 <font class="preprocessor"></font>
<a name="l01059"></a><a class="code" href="group__mrl__types.html#a12">01059</a> <font class="preprocessor">#define mrl_file_symlink (1 << 11)</font>
01060 <font class="preprocessor"></font>
<a name="l01065"></a><a class="code" href="group__mrl__types.html#a13">01065</a> <font class="preprocessor">#define mrl_file_sock (1 << 12)</font>
01066 <font class="preprocessor"></font>
<a name="l01071"></a><a class="code" href="group__mrl__types.html#a14">01071</a> <font class="preprocessor">#define mrl_file_exec (1 << 13)</font>
01072 <font class="preprocessor"></font>
<a name="l01077"></a><a class="code" href="group__mrl__types.html#a15">01077</a> <font class="preprocessor">#define mrl_file_backup (1 << 14)</font>
01078 <font class="preprocessor"></font>
<a name="l01083"></a><a class="code" href="group__mrl__types.html#a16">01083</a> <font class="preprocessor">#define mrl_file_hidden (1 << 15)</font>
01084 <font class="preprocessor"></font>
01092 <font class="preprocessor">#define MRL_ZERO(m) { \</font>
01093 <font class="preprocessor"> if((m)) { \</font>
01094 <font class="preprocessor"> if((m)->origin) \</font>
01095 <font class="preprocessor"> free((m)->origin); \</font>
01096 <font class="preprocessor"> if((m)->mrl) \</font>
01097 <font class="preprocessor"> free((m)->mrl); \</font>
01098 <font class="preprocessor"> if((m)->link) \</font>
01099 <font class="preprocessor"> free((m)->link); \</font>
01100 <font class="preprocessor"> (m)->origin = NULL; \</font>
01101 <font class="preprocessor"> (m)->mrl = NULL; \</font>
01102 <font class="preprocessor"> (m)->link = NULL; \</font>
01103 <font class="preprocessor"> (m)->type = 0; \</font>
01104 <font class="preprocessor"> (m)->size = (off_t) 0; \</font>
01105 <font class="preprocessor"> } \</font>
01106 <font class="preprocessor">}</font>
01107 <font class="preprocessor"></font>
01113 <font class="preprocessor">#define MRL_DUPLICATE(s, d) { \</font>
01114 <font class="preprocessor"> assert((s) != NULL); \</font>
01115 <font class="preprocessor"> assert((d) != NULL); \</font>
01116 <font class="preprocessor"> \</font>
01117 <font class="preprocessor"> if((s)->origin) { \</font>
01118 <font class="preprocessor"> if((d)->origin) { \</font>
01119 <font class="preprocessor"> (d)->origin = (char *) realloc((d)->origin, strlen((s)->origin) + 1); \</font>
01120 <font class="preprocessor"> sprintf((d)->origin, "%s", (s)->origin); \</font>
01121 <font class="preprocessor"> } \</font>
01122 <font class="preprocessor"> else \</font>
01123 <font class="preprocessor"> (d)->origin = strdup((s)->origin); \</font>
01124 <font class="preprocessor"> } \</font>
01125 <font class="preprocessor"> else \</font>
01126 <font class="preprocessor"> (d)->origin = NULL; \</font>
01127 <font class="preprocessor"> \</font>
01128 <font class="preprocessor"> if((s)->mrl) { \</font>
01129 <font class="preprocessor"> if((d)->mrl) { \</font>
01130 <font class="preprocessor"> (d)->mrl = (char *) realloc((d)->mrl, strlen((s)->mrl) + 1); \</font>
01131 <font class="preprocessor"> sprintf((d)->mrl, "%s", (s)->mrl); \</font>
01132 <font class="preprocessor"> } \</font>
01133 <font class="preprocessor"> else \</font>
01134 <font class="preprocessor"> (d)->mrl = strdup((s)->mrl); \</font>
01135 <font class="preprocessor"> } \</font>
01136 <font class="preprocessor"> else \</font>
01137 <font class="preprocessor"> (d)->mrl = NULL; \</font>
01138 <font class="preprocessor"> \</font>
01139 <font class="preprocessor"> if((s)->link) { \</font>
01140 <font class="preprocessor"> if((d)->link) { \</font>
01141 <font class="preprocessor"> (d)->link = (char *) realloc((d)->link, strlen((s)->link) + 1); \</font>
01142 <font class="preprocessor"> sprintf((d)->link, "%s", (s)->link); \</font>
01143 <font class="preprocessor"> } \</font>
01144 <font class="preprocessor"> else \</font>
01145 <font class="preprocessor"> (d)->link = strdup((s)->link); \</font>
01146 <font class="preprocessor"> } \</font>
01147 <font class="preprocessor"> else \</font>
01148 <font class="preprocessor"> (d)->link = NULL; \</font>
01149 <font class="preprocessor"> \</font>
01150 <font class="preprocessor"> (d)->type = (s)->type; \</font>
01151 <font class="preprocessor"> (d)->size = (s)->size; \</font>
01152 <font class="preprocessor">}</font>
01153 <font class="preprocessor"></font>
01159 <font class="preprocessor">#define MRLS_DUPLICATE(s, d) { \</font>
01160 <font class="preprocessor"> int i = 0; \</font>
01161 <font class="preprocessor"> \</font>
01162 <font class="preprocessor"> assert((s) != NULL); \</font>
01163 <font class="preprocessor"> assert((d) != NULL); \</font>
01164 <font class="preprocessor"> \</font>
01165 <font class="preprocessor"> while((s) != NULL) { \</font>
01166 <font class="preprocessor"> d[i] = (mrl_t *) malloc(sizeof(mrl_t)); \</font>
01167 <font class="preprocessor"> MRL_DUPLICATE(s[i], d[i]); \</font>
01168 <font class="preprocessor"> i++; \</font>
01169 <font class="preprocessor"> } \</font>
01170 <font class="preprocessor">}</font>
01171 <font class="preprocessor"></font>
01177 <font class="keyword">typedef</font> <font class="keyword">struct </font>{
<a name="l01179"></a><a class="code" href="structmrl__t.html#m0">01179</a> <font class="keywordtype">char</font> *origin;
<a name="l01181"></a><a class="code" href="structmrl__t.html#m1">01181</a> <font class="keywordtype">char</font> *mrl;
<a name="l01183"></a><a class="code" href="structmrl__t.html#m2">01183</a> <font class="keywordtype">char</font> *link;
<a name="l01185"></a><a class="code" href="structmrl__t.html#m3">01185</a> uint32_t type;
<a name="l01187"></a><a class="code" href="structmrl__t.html#m4">01187</a> off_t size;
01188 } <a class="code" href="structmrl__t.html">mrl_t</a>;
01189
01206 <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);
01207
01223 <font class="keywordtype">char</font> **<a class="code" href="xine_8h.html#a0">xine_get_autoplay_input_plugin_ids</a> (xine_t *self) ;
01224
01235 <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);
01236
<a name="l01250"></a><a class="code" href="group__loadplugins__group.html#a4">01250</a> <font class="preprocessor">#define XINE_PLUGINDIR "/usr/local/lib/xine/plugins"</font>
01251 <font class="preprocessor"></font>
01262 <font class="preprocessor">#define VISUAL_TYPE_X11 1</font>
01263 <font class="preprocessor"></font>
01268 <font class="preprocessor">#define VISUAL_TYPE_AA 2</font>
01269 <font class="preprocessor"></font>
01274 <font class="preprocessor">#define VISUAL_TYPE_FB 3</font>
01275 <font class="preprocessor"></font>
01280 <font class="preprocessor">#define VISUAL_TYPE_GTK 4</font>
01281 <font class="preprocessor"></font>
01291 <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);
01292
01302 <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,
01303 <font class="keywordtype">char</font> *id, <font class="keywordtype">int</font> visual_type, <font class="keywordtype">void</font> *visual);
01304
01310 <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>);
01311
01319 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);
01320
01329 <font class="preprocessor">#ifdef DOC_HIDDEN</font>
01330 <font class="preprocessor"></font>
<a name="l01334"></a><a class="code" href="group__event__group.html#a0">01334</a> <font class="keyword">typedef</font> <font class="keywordtype">void</font> event_t;
01335 <font class="preprocessor">#endif</font>
01336 <font class="preprocessor"></font>
<a name="l01341"></a><a class="code" href="group__event__group.html#a1">01341</a> <font class="keyword">typedef</font> void (*event_listener_t) (xine_t *xine, event_t *event, <font class="keywordtype">void</font> *data);
01342
01351 <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);
01352
01361 <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);
01362
01371 <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);
01372
01377 <font class="preprocessor">#ifdef __cplusplus</font>
01378 <font class="preprocessor"></font>}
01379 <font class="preprocessor">#endif</font>
01380 <font class="preprocessor"></font>
01381 <font class="preprocessor">#endif</font>
</font></pre></div><hr><address><small>Generated at Fri Oct 5 14:17:32 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>
|