diff options
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.h')
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.h b/Build/source/texk/kpathsea/tex-file.h index 49b0a41e878..48c17d3c3ea 100644 --- a/Build/source/texk/kpathsea/tex-file.h +++ b/Build/source/texk/kpathsea/tex-file.h @@ -1,6 +1,6 @@ /* tex-file.h: find files in a particular format. - Copyright 1993, 1994, 1995, 1996, 2007, 2008 Karl Berry. + Copyright 1993, 1994, 1995, 1996, 2007, 2008, 2009 Karl Berry. Copyright 1998-2005 Olaf Weber. This library is free software; you can redistribute it and/or @@ -32,40 +32,39 @@ extern void kpathsea_init_fallback_resolutions (kpathsea kpse, string envvar); /* If LEVEL is higher than `program_enabled_level' for FMT, set `program_enabled_p' to VALUE. */ extern KPSEDLL void kpathsea_set_program_enabled (kpathsea kpse, - kpse_file_format_type fmt, - boolean value, kpse_src_type level); + kpse_file_format_type fmt, boolean value, kpse_src_type level); + /* Call kpse_set_program_enabled with VALUE and the format corresponding to FMTNAME. */ -extern KPSEDLL void kpathsea_maketex_option (kpathsea kpse, const_string fmtname, - boolean value); +extern KPSEDLL void kpathsea_maketex_option (kpathsea kpse, + const_string fmtname, boolean value); /* Change the list of searched suffixes (alternate suffixes if alternate is true). */ extern KPSEDLL void kpathsea_set_suffixes (kpathsea kpse, - kpse_file_format_type format, - boolean alternate, ...); + kpse_file_format_type format, boolean alternate, ...); /* Initialize the info for the given format. This is called automatically by `kpse_find_file', but the glyph searching (for example) can't use that function, so make it available. */ extern KPSEDLL const_string kpathsea_init_format (kpathsea kpse, - kpse_file_format_type format); + kpse_file_format_type format); /* If FORMAT has a non-null `suffix' member, append it to NAME "." and call `kpse_path_search' with the result and the other arguments. If that fails, try just NAME. */ extern KPSEDLL string kpathsea_find_file (kpathsea kpse, const_string name, - kpse_file_format_type format, boolean must_exist); + kpse_file_format_type format, boolean must_exist); /* Ditto, allowing ALL parameter and hence returning a NULL-terminated list of results. */ -extern KPSEDLL string *kpathsea_find_file_generic - (kpathsea kpse, const_string name, kpse_file_format_type format, - boolean must_exist, boolean all); +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. */ extern KPSEDLL boolean kpathsea_in_name_ok (kpathsea kpse, const_string fname); -extern KPSEDLL boolean kpathsea_out_name_ok (kpathsea kpse, const_string fname); +extern KPSEDLL boolean kpathsea_out_name_ok (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, |