diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-15 19:46:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-15 19:46:12 +0000 |
commit | a58151b48236015590a61a3c005346006a962519 (patch) | |
tree | 70326cb4ec436178341cd99c64b3dc189197c4b7 /Build/source/texk/kpathsea/tex-file.h | |
parent | 6616b6780cff53f09ab22d95d3c266230f0c8d31 (diff) |
new options -safe-in-name, -safe-out-name, suggested by Manuel
git-svn-id: svn://tug.org/texlive/trunk@16415 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.h')
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.h b/Build/source/texk/kpathsea/tex-file.h index 10b4be2364b..bad4b028a42 100644 --- a/Build/source/texk/kpathsea/tex-file.h +++ b/Build/source/texk/kpathsea/tex-file.h @@ -62,10 +62,17 @@ extern KPSEDLL string *kpathsea_find_file_generic (kpathsea kpse, const_string name, kpse_file_format_type format, boolean must_exist, boolean all); -/* Return true if FNAME is acceptable to open for reading or writing. */ +/* Return true if FNAME is acceptable to open for reading or writing. + If not acceptable, write a message to stderr. */ extern KPSEDLL boolean kpathsea_in_name_ok (kpathsea kpse, const_string fname); extern KPSEDLL boolean kpathsea_out_name_ok (kpathsea kpse,const_string fname); +/* As above, but no error message. */ +extern KPSEDLL boolean kpathsea_in_name_ok_silent + (kpathsea kpse, const_string fname); +extern KPSEDLL boolean kpathsea_out_name_ok_silent + (kpathsea kpse,const_string fname); + /* Don't just look up the name, actually open the file. */ extern KPSEDLL FILE *kpathsea_open_file (kpathsea kpse, const_string name, kpse_file_format_type format); |