summaryrefslogtreecommitdiff
path: root/Build/source/texk/mendexk/kp.h
blob: 7ad5e3e1d8a444c048b9a01dc80ebdf0b3db40f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Written by K.Asayayam  Sep. 1995 */
#ifndef KSUPPORT_H_INCLUDED
#define KSUPPORT_H_INCLUDED
#ifdef KPATHSEA
typedef struct {
  const char *var_name;
  const char *path;
  const char *suffix;
} KpathseaSupportInfo;

extern KpathseaSupportInfo kp_ist, kp_dict;

extern int KP_init(char *);
extern int KP_entry_filetype(KpathseaSupportInfo *);
extern const char *KP_find_file(KpathseaSupportInfo *, const char *);
#ifdef KPATHSEA3
extern const char *KP_get_value(const char *, const char *);
#else
extern const char *KP_get_value(const char *, const char *, const char *);
#endif
#endif /* KPATHSEA */
#endif /* ! KSUPPORT_H_INCLUDED */