GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DtSearchReinit(library call) DtSearchReinit(library call)

DtSearchReinit — Reinitialize the DtSearch online API

#include &<Dt/Search.h>
int DtSearchReinit(
char ***dbnames,
int *dbcount);

DtSearchReinit 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.

Specifies the address where a pointer to an array of static database name string pointers will be placed. The dbnames pointer from a previous DtSearchInit or DtSearchReinit may no longer be valid. Each string identifies a single successfully opened database.
A database name string from this array is required for most other API function calls. The dbn member in DtSrResult is an index into this array.
Specifies a pointer where the size of the dbnames array will be stored.

DtSearchReinit 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.

DtSrAPI(3), DtSearchInit(3), DtSearchGetMessages(3), dtsrocffile(4), DtSearch(5)


Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.