aboutsummaryrefslogtreecommitdiffstats
path: root/src/tagTracker.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-08 11:47:57 +0200
committerMax Kellermann <max@duempel.org>2008-09-08 11:47:57 +0200
commitf0e64ceb48c485baf32528bba44875885d384354 (patch)
treec9869f5a5dd25a7eb88791ca6aa95f7c0e77168c /src/tagTracker.h
parent2b8040b42524dad68ea85c45a4be25909a03eb5c (diff)
downloadmpd-f0e64ceb48c485baf32528bba44875885d384354.tar.gz
mpd-f0e64ceb48c485baf32528bba44875885d384354.tar.xz
mpd-f0e64ceb48c485baf32528bba44875885d384354.zip
use strset.h instead of tagTracker.h
With a large music database, the linear string collection in tagTracker.c becomes very slow. We implemented that in a quick'n'dirty fashion when we removed tree.c, and now we rewrite it using the fast hashed string set.
Diffstat (limited to 'src/tagTracker.h')
-rw-r--r--src/tagTracker.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/tagTracker.h b/src/tagTracker.h
deleted file mode 100644
index f3c778329..000000000
--- a/src/tagTracker.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* the Music Player Daemon (MPD)
- * Copyright (C) 2003-2007 by Warren Dukes (warren.dukes@gmail.com)
- * This project's homepage is: http://www.musicpd.org
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#ifndef TAG_TRACKER_H
-#define TAG_TRACKER_H
-
-struct client;
-
-int getNumberOfTagItems(int type);
-
-void printMemorySavedByTagTracker(void);
-
-void resetVisitedFlagsInTagTracker(int type);
-
-void visitInTagTracker(int type, const char *str);
-
-void printVisitedInTagTracker(struct client *client, int type);
-
-#endif