summaryrefslogtreecommitdiff
path: root/src/xine-utils/xine_check.h
blob: 14903503715d0698ef9e7a54d7b7dfc99faffef4 (plain)
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
#ifndef XINE_CHECK_H
#define XINE_CHECK_H
#include <stdio.h>

#ifdef XINE_COMPILE
#  include "xine.h"
#else
#  include <xine.h>
#endif

#define XINE_HEALTH_CHECK_OK            0
#define XINE_HEALTH_CHECK_FAIL          1
#define XINE_HEALTH_CHECK_UNSUPPORTED   2
#define XINE_HEALTH_CHECK_NO_SUCH_CHECK 3

#define CHECK_KERNEL    0
#define CHECK_MTRR      1
#define CHECK_CDROM     2
#define CHECK_DVDROM    3
#define CHECK_DMA       4
#define CHECK_X         5
#define CHECK_XV        6

/*
 * Start checking xine setup here
 *
 * cdrom_dev = Name of the device link for the cdrom drive (e.g. /dev/cdrom)
 * dvd_dev = Name of the device link for the dvd drive (e.g. /dev/dvd)
 */
xine_health_check_t* xine_health_check(xine_health_check_t*, int check_num);

/* Get Kernel information */
xine_health_check_t* xine_health_check_kernel(xine_health_check_t*);

/* health_check MTRR */
xine_health_check_t* xine_health_check_mtrr(xine_health_check_t*);

/* health_check CDROM */
xine_health_check_t* xine_health_check_cdrom(xine_health_check_t*);

/* health_check DVDROM */
xine_health_check_t* xine_health_check_dvdrom(xine_health_check_t*);

/* health_check DMA settings of DVD drive*/
xine_health_check_t* xine_health_check_dma(xine_health_check_t*);

/* health_check X */
xine_health_check_t* xine_health_check_x(xine_health_check_t*);

/* health_check Xv extension */
xine_health_check_t* xine_health_check_xv(xine_health_check_t*);

#endif