summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/db.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-02 15:41:52 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-02 15:41:52 +0000
commit49f47e772fcf8d5b6148eba21ffb438fa35c8c00 (patch)
treec13a5f8aaad9d4c8328e898a08a1160a72da74e0 /Build/source/texk/kpathsea/db.h
parent6c2467cbb8e21577155060c598661d71024c1893 (diff)
kpathsea: unexport library internal functions, remove unused ones
git-svn-id: svn://tug.org/texlive/trunk@23317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/db.h')
-rw-r--r--Build/source/texk/kpathsea/db.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/Build/source/texk/kpathsea/db.h b/Build/source/texk/kpathsea/db.h
index 968f2b0da64..d5ddb3d6200 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, 2010 Karl Berry.
+ Copyright 1994, 1995, 2008, 2010, 2011 Karl Berry.
Copyright 1999, 2003, 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -19,12 +19,12 @@
#ifndef KPATHSEA_DB_H
#define KPATHSEA_DB_H
+#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+
#include <kpathsea/c-proto.h>
#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);
@@ -43,29 +43,10 @@ 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,
- const_string path_elt, boolean all);
-
-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
-
#endif /* not KPATHSEA_DB_H */