MythTV  master
lang.h
Go to the documentation of this file.
1 #ifndef LANG_H
2 #define LANG_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include "vt.h"
9 
10 extern int latin1;
11 extern const unsigned char lang_chars[][16]; /* from vbilut.cpp */
12 
13 struct enhance
14 {
15  int next_des; // next expected designation code
16  unsigned int trip[13*16]; // tripplets
17 };
18 
19 void lang_init(void);
20 void conv2latin(unsigned char *p, int n, int lang);
21 
22 void init_enhance(struct enhance *eh);
23 void add_enhance(struct enhance *eh, int dcode, unsigned int *data);
24 void do_enhancements(struct enhance *eh, struct vt_page *vtp);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif // LANG_H
31 
void conv2latin(unsigned char *p, int n, int lang)
Definition: lang.c:104
void lang_init(void)
Definition: lang.c:93
Definition: lang.h:13
Definition: vt.h:36
void add_enhance(struct enhance *eh, int dcode, unsigned int *data)
Definition: lang.c:131
void init_enhance(struct enhance *eh)
Definition: lang.c:125
int next_des
Definition: lang.h:15
const unsigned char lang_chars[][16]
Definition: vbilut.cpp:4
unsigned int trip[13 *16]
Definition: lang.h:16
int latin1
Definition: lang.c:5
void do_enhancements(struct enhance *eh, struct vt_page *vtp)
Definition: lang.c:143