summaryrefslogtreecommitdiffstats
path: root/src/searchindex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/searchindex.h')
-rw-r--r--src/searchindex.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/searchindex.h b/src/searchindex.h
index 8022337..2b94261 100644
--- a/src/searchindex.h
+++ b/src/searchindex.h
@@ -25,6 +25,10 @@
#include <qintdict.h>
#include <qvector.h>
+class FTextStream;
+
+//------- server side search index ----------------------
+
struct URL
{
URL(const char *n,const char *u) : name(n), url(u) {}
@@ -67,5 +71,9 @@ class SearchIndex
int m_urlIndex;
};
+//------- client side search index ----------------------
+
+void writeJavascriptSearchIndex();
+void writeSearchCategories(FTextStream &t);
#endif