blob: 8a3e4cc66b10281ce62986b4af578f58ffa5ecd1 (
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
55
56
57
58
59
60
61
62
|
#ifndef XINE_CHECK_H
#define XINE_CHECK_H
#include <stdio.h>
#define XINE_HEALTH_CHECK_OK 0
#define XINE_HEALTH_CHECK_FAIL 1
#define XINE_HEALTH_CHECK_UNSUPPORTED 2
struct xine_health_check_s {
int status;
const char* cdrom_dev;
const char* dvd_dev;
char* msg;
};
typedef struct xine_health_check_s xine_health_check_t;
typedef struct {
FILE *fd;
char *filename;
char *ln;
char buf[256];
} file_info_t;
/*
* 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*);
#if 0
/* Get OS information */
xine_health_check_t* xine_health_check_os(void);
#endif
/* 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
|