annotate lib-src/mule/mulelib.h @ 160:1c55655d6702

Added tag r20-3b6 for changeset 3bb7ccffb0c0
author cvs
date Mon, 13 Aug 2007 09:41:47 +0200
parents 131b0175ea99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 #ifndef _MULELIB_H
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2 #define _MULELIB_H
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4 #include "config.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 #include "paths.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6 #include "lisp.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 #include "mule-charset.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8 #include "mule-coding.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 #include "bdf.h"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 extern char *mule_library_version;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13 extern int mule_error;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 extern char mule_error_msg[256];
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 #define MULE_ERROR_UNKNOWN_CODE 1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 #define MULE_ERROR_OVERFLOW 2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18 #define MULE_ERROR_NO_CHARSETS 3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 #define MULE_ERROR_INVALID_CHARSETS 4
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 #define MULE_ERROR_NO_CODING 5
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 #define MULE_ERROR_INVALID_CODING 6
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23 #ifndef MAXPATHLEN
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 #define MAXPATHLEN 256
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25 #endif
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27 #ifndef CHARSETS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 #define CHARSETS "CHARSETS"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 #endif
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 #ifndef CODINGS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 #define CODINGS "CODINGS"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 #endif
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 #define CODING_SYSTEM_COUNT 256
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 extern struct coding_type coding_system_table[CODING_SYSTEM_COUNT];
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 extern int n_base_coding_system;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 extern int n_coding_system;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 extern char *font_name[128];
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 extern int font_encoding[128];
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 extern CCL_PROGRAM *x_ccl_programs[128];
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 extern FILE *open_file();
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 #ifdef MSDOS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 extern void init_environment();
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 extern char *rootrelativepath();
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 #endif
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 #endif /* _MULELIB_H */