diff options
Diffstat (limited to 'Build/source/texk/kpathsea/variable.h')
-rw-r--r-- | Build/source/texk/kpathsea/variable.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/variable.h b/Build/source/texk/kpathsea/variable.h index 4c92e0e00f2..2dd97c4cb30 100644 --- a/Build/source/texk/kpathsea/variable.h +++ b/Build/source/texk/kpathsea/variable.h @@ -24,7 +24,7 @@ /* Return the (variable-expanded) environment variable value or config file value, or NULL. */ -extern KPSEDLL string kpse_var_value P1H(const_string var); +extern KPSEDLL string kpathsea_var_value (kpathsea kpse, const_string var); /* Expand $VAR, ${VAR}, and ~ references in SRC, returning the (always newly dynamically-allocated) result. An unterminated ${ or any other @@ -36,6 +36,11 @@ extern KPSEDLL string kpse_var_value P1H(const_string var); In any case, ``expansion'' means calling `getenv'; if the variable is not set, look in texmf.cnf files for a definition. If not set there, either, the expansion is the empty string (no error). */ -extern KPSEDLL string kpse_var_expand P1H(const_string src); +extern KPSEDLL string kpathsea_var_expand (kpathsea kpse, const_string src); + +#if defined (KPSE_COMPAT_API) +extern KPSEDLL string kpse_var_value (const_string var); +extern KPSEDLL string kpse_var_expand (const_string src); +#endif #endif /* not KPATHSEA_VARIABLE_H */ |