diff options
Diffstat (limited to 'Build/source/texk/kpathsea/db.h')
-rw-r--r-- | Build/source/texk/kpathsea/db.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/db.h b/Build/source/texk/kpathsea/db.h index 11e33745af8..76dcb220e72 100644 --- a/Build/source/texk/kpathsea/db.h +++ b/Build/source/texk/kpathsea/db.h @@ -1,6 +1,6 @@ /* db.h: lookups in an externally built db file. - Copyright 1994, 1995, 2008 Karl Berry. + Copyright 1994, 1995, 2008, 2010 Karl Berry. Copyright 1999, 2003, 2005 Olaf Weber. This library is free software; you can redistribute it and/or @@ -23,6 +23,8 @@ #include <kpathsea/types.h> #include <kpathsea/str-list.h> +#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */ + /* Initialize the database. Until this is called, no ls-R matches will be found. */ extern void kpathsea_init_db (kpathsea kpse); @@ -41,11 +43,16 @@ extern str_list_type *kpathsea_db_search_list (kpathsea kpse, const_string path_elt, boolean all); +#endif /* MAKE_KPSE_DLL */ + /* Insert the filename FNAME into the database. Called by mktexpk et al. */ extern KPSEDLL void kpathsea_db_insert (kpathsea kpse, const_string fname); #if defined(KPSE_COMPAT_API) + +#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */ + extern void kpse_init_db (void); extern str_list_type *kpse_db_search (const_string name, @@ -55,6 +62,8 @@ extern str_list_type *kpse_db_search_list (const_string* names, const_string path_elt, boolean all); +#endif /* MAKE_KPSE_DLL */ + extern KPSEDLL void kpse_db_insert (const_string fname); #endif |