Switch to side-by-side view

--- a/src/rcldb/stemdb.h
+++ b/src/rcldb/stemdb.h
@@ -1,6 +1,6 @@
 #ifndef _STEMDB_H_INCLUDED_
 #define _STEMDB_H_INCLUDED_
-/* @(#$Id: stemdb.h,v 1.2 2006-11-15 14:57:53 dockes Exp $  (C) 2004 J.F.Dockes */
+/* @(#$Id: stemdb.h,v 1.3 2006-12-19 12:11:21 dockes Exp $  (C) 2004 J.F.Dockes */
 /// Stem database code
 /// 
 /// Stem databases list stems and the set of index terms they expand to. They 
@@ -13,6 +13,7 @@
 #include <string>
 
 #include <xapian.h>
+
 #ifndef NO_NAMESPACES
 using std::string;
 using std::list;
@@ -28,10 +29,10 @@
 extern bool createDb(Xapian::Database& xdb, 
 		     const std::string& dbdir, const std::string& lang);
 /// Expand term to stem siblings
-extern std::list<std::string> stemExpand(const std::string& dbdir, 
-					 const std::string& lang,
-					 const std::string& term);
-
+extern bool stemExpand(const std::string& dbdir, 
+		       const std::string& lang,
+		       const std::string& term,
+		       list<string>& result);
 #ifndef NO_NAMESPACES
 }
 }