70
|
1 #ifndef _MULELIB_H
|
|
2 #define _MULELIB_H
|
|
3
|
|
4 #include "config.h"
|
|
5 #include "paths.h"
|
|
6 #include "lisp.h"
|
|
7 #include "mule-charset.h"
|
|
8 #include "mule-coding.h"
|
|
9 #include "bdf.h"
|
|
10
|
|
11 extern char *mule_library_version;
|
|
12
|
|
13 extern int mule_error;
|
|
14 extern char mule_error_msg[256];
|
|
15
|
|
16 #define MULE_ERROR_UNKNOWN_CODE 1
|
|
17 #define MULE_ERROR_OVERFLOW 2
|
|
18 #define MULE_ERROR_NO_CHARSETS 3
|
|
19 #define MULE_ERROR_INVALID_CHARSETS 4
|
|
20 #define MULE_ERROR_NO_CODING 5
|
|
21 #define MULE_ERROR_INVALID_CODING 6
|
|
22
|
|
23 #ifndef MAXPATHLEN
|
|
24 #define MAXPATHLEN 256
|
|
25 #endif
|
|
26
|
|
27 #ifndef CHARSETS
|
|
28 #define CHARSETS "CHARSETS"
|
|
29 #endif
|
|
30
|
|
31 #ifndef CODINGS
|
|
32 #define CODINGS "CODINGS"
|
|
33 #endif
|
|
34
|
|
35 #define CODING_SYSTEM_COUNT 256
|
|
36 extern struct coding_type coding_system_table[CODING_SYSTEM_COUNT];
|
|
37 extern int n_base_coding_system;
|
|
38 extern int n_coding_system;
|
|
39
|
|
40 extern char *font_name[128];
|
|
41 extern int font_encoding[128];
|
|
42 extern CCL_PROGRAM *x_ccl_programs[128];
|
|
43
|
|
44 extern FILE *open_file();
|
|
45
|
|
46 #ifdef MSDOS
|
|
47 extern void init_environment();
|
|
48 extern char *rootrelativepath();
|
|
49 #endif
|
|
50
|
|
51 #endif /* _MULELIB_H */
|