![]() |
![]()
| ![]() |
![]()
NAMEDtSearchReinit — Reinitialize the DtSearch online API SYNOPSIS#include &<Dt/Search.h> int DtSearchReinit( char ***dbnames, int *dbcount); DESCRIPTIONDtSearchReinit closes and reopens databases and other files as necessary, and reinitializes the search engine API. It is typically used after either databases or the ocf file have been externally changed to force the search engine to reinitialize itself, and to acquire the new database names if any. It can also be used after any function returns DtSrREINIT to acquire the new database names. ARGUMENTS
RETURN VALUEDtSearchReinit returns DtSrOK and the current dbnames array if the reinitialization was successful or if reinitialization was not necessary. It returns DtSrERROR and messages on the MessageList on any other condition. SEE ALSODtSrAPI(3), DtSearchInit(3), DtSearchGetMessages(3), dtsrocffile(4), DtSearch(5)
|