X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=src%2Fdatabase.c;h=204b3ae847543010f5ed7ce21aa44d1e54acb152;hb=de634461a0500801cd71d6a42aff032fa083a127;hp=1834b7854de0890440b1b412bcb597dbed8242b3;hpb=216073a7a0d2fdfc9d88c58b1a2ff83fa76d4628;p=pazpar2-moved-to-github.git diff --git a/src/database.c b/src/database.c index 1834b78..204b3ae 100644 --- a/src/database.c +++ b/src/database.c @@ -47,6 +47,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA static struct host *hosts = 0; // The hosts we know about +#if 0 static xmlDoc *get_explain_xml(const char *id) { struct stat st; @@ -71,6 +72,7 @@ static xmlDoc *get_explain_xml(const char *id) else return 0; } +#endif // Create a new host structure for hostport static struct host *create_host(const char *hostport) @@ -115,6 +117,7 @@ static struct database *load_database(const char *id, yaz_log(YLOG_LOG, "New database: %s", id); +#if 0 if (config && config->targetprofiles && (doc = get_explain_xml(id))) { @@ -122,6 +125,7 @@ static struct database *load_database(const char *id, if (!explain) return 0; } +#endif if (strlen(id) > 255) return 0;