[sword-cvs] sword/include flatapi.h,1.5,1.6

sword@www.crosswire.org sword@www.crosswire.org
Thu, 15 Jan 2004 20:48:05 -0700


Update of /cvs/core/sword/include
In directory www:/tmp/cvs-serv22971

Modified Files:
	flatapi.h 
Log Message:
work on flatapi

Index: flatapi.h
===================================================================
RCS file: /cvs/core/sword/include/flatapi.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- flatapi.h	18 Oct 2002 01:57:47 -0000	1.5
+++ flatapi.h	16 Jan 2004 03:48:03 -0000	1.6
@@ -21,7 +21,12 @@
 void SWDLLEXPORT stringlist_iterator_next(SWHANDLE hsli);
 const char * SWDLLEXPORT stringlist_iterator_val(SWHANDLE hsli);
 
+//-----------------------------------------------------------------
+// listkey_iterator methods
 
+void SWDLLEXPORT listkey_iterator_next(SWHANDLE lki);
+const char * SWDLLEXPORT listkey_iterator_val(SWHANDLE hsli);
+	
 //-----------------------------------------------------------------
 // modmap methods
 //
@@ -32,7 +37,7 @@
 //-----------------------------------------------------------------
 // SWMgr methods
 //
-SWHANDLE SWDLLEXPORT SWMgr_new();
+SWHANDLE SWDLLEXPORT SWMgr_new(char filterType);
 // SWConfig *, SWConfig *, bool, SWFilterMgr *
 SWHANDLE SWDLLEXPORT SWMgr_newEx(SWHANDLE hiconfig, SWHANDLE hisysconfig, char autoload, SWHANDLE hfilterMgr);
 void     SWDLLEXPORT SWMgr_delete(SWHANDLE hmgr);
@@ -55,6 +60,7 @@
 // SWModule methods
 
 void  SWDLLEXPORT SWModule_terminateSearch(SWHANDLE hmodule);
+SWHANDLE SWDLLEXPORT SWModule_doSearch(SWHANDLE hmodule, const char *searchString, int type, int params,  void (*percent) (char, void *), void *percentUserData);
 char  SWDLLEXPORT SWModule_error(SWHANDLE hmodule);
 int   SWDLLEXPORT SWModule_getEntrySize(SWHANDLE hmodule);
 void  SWDLLEXPORT SWModule_setKeyText(SWHANDLE hmodule, const char *key);