summaryrefslogtreecommitdiff
path: root/Build/source/texk/lcdf-typetools/lcdf-typetools-2.99/otftotfm/kpseinterface.h
blob: c822a24fa1e837c374c00ad28dcae742e72c23bf (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
#ifndef OTFTOTFM_KPSEINTERFACE_H
#define OTFTOTFM_KPSEINTERFACE_H
#ifdef __cplusplus
extern "C" {
#endif

void kpsei_init(const char* argv0, const char* progname);
extern int kpsei_env_sep_char;
char* kpsei_path_expand(const char* path); /* free() result */
enum { KPSEI_FMT_WEB2C, KPSEI_FMT_ENCODING, KPSEI_FMT_TYPE1,
       KPSEI_FMT_OTHER_TEXT, KPSEI_FMT_MAP, KPSEI_FMT_TRUETYPE,
       KPSEI_FMT_OPENTYPE, KPSEI_FMT_TYPE42 };
char* kpsei_find_file(const char* name, int format);
void kpsei_set_debug_flags(unsigned flags);

#ifdef W32TEX
int kpsei_getlongpath(char *buff, char *input, int len);
char *kpsei_var_value(const char *var);
#define true  1
#define false 0
#endif

#ifdef __cplusplus
}
#endif
#endif