summaryrefslogtreecommitdiff
path: root/Build/source/texk/mendexk/kp.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/mendexk/kp.h')
-rw-r--r--Build/source/texk/mendexk/kp.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/Build/source/texk/mendexk/kp.h b/Build/source/texk/mendexk/kp.h
index f304b2c2542..3f4ba5880b2 100644
--- a/Build/source/texk/mendexk/kp.h
+++ b/Build/source/texk/mendexk/kp.h
@@ -3,15 +3,18 @@
#define KSUPPORT_H_INCLUDED
#ifdef KPATHSEA
typedef struct {
- char *var_name;
- char *path;
- char *suffix;
+ const char *var_name;
+ const char *path;
+ const char *suffix;
} KpathseaSupportInfo;
-extern int KP_init();
-extern int KP_entry_filetype();
-extern char *KP_find_file();
-extern char *KP_get_value();
-extern char *KP_get_path();
+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 */