]> git.gir.st - ttxd.git/blob - src/vtx2ascii-src/cct.h
update to dvb-t2 (new hardware, software)
[ttxd.git] / src / vtx2ascii-src / cct.h
1 #ifndef CCT_H_INCLUDED
2 #define CCT_H_INCLUDED
3
4 /* $Id: cct.h,v 1.1 1996/09/22 22:37:43 mb Exp mb $
5 *
6 * Copyright (c) 1994-96 Martin Buck <martin-2.buck@student.uni-ulm.de>
7 * Read COPYING for more information
8 */
9
10
11 #include <sys/vtx.h>
12
13
14 #define CCTOK 0
15 #define CCTNOTFOUND 1
16 #define CCTERR -1
17 #define CCTEINVAL -2
18 #define CCTEOPEN -3
19 #define CCTEVERSION -4
20 #define CCTENOTOPEN -5
21
22
23 extern char *cct_device;
24
25 int cct_open(int major, int minor, vtx_info_t *prg_info);
26 void cct_close(void);
27 int cct_clearpgbuf(int pgbuf);
28 int cct_checkpage(int pgbuf);
29 int cct_stop_dau(int pgbuf);
30 int cct_reset_pgfound(int pgbuf);
31 int cct_searchpage(int page, int hour, int minute, int pagemask, int pgbuf);
32 int cct_getpage(int pgbuf, int x1, int y1, int x2, int y2, byte_t *buffer, vtx_pageinfo_t *info);
33 int cct_putpage(int x1, int y1, int x2, int y2, const byte_t *buffer, const vtx_pageinfo_t *info);
34 int cct_set_display(vtxdisp_t disp);
35 int cct_clear_cache(void);
36 int cct_set_virtual(int virtual);
37
38 #endif /* CCT_H_INCLUDED */
Imprint / Impressum