DTSEARCHREINIT(3)
π NAME π
okay so this is the DtSearchReinit page, bestie β DtSearchReinit β reinitialize the DtSearch online API β and it lives in the library call manual. β¨
π¦ SYNOPSIS π¦
#include &<Dt/Search.h>
int DtSearchReinit(
char ***dbnames,
int *dbcount);
π DESCRIPTION π
DtSearchReinit closes and reopens databases and other files as necessary, and it reinitializes the search engine API. thatβs the whole assignment. π
Itβs typically used after either databases or the ocf file have been externally changed β like, externally changed, bestie β 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. iykyk. π«Ά
πΈ ARGUMENTS πΈ
dbnamesβ Specifies the address where a pointer to an array of static database name string pointers will be placed. Thedbnamespointer from a previousDtSearchInitorDtSearchReinitmay 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. so keep that index energy in mind, bestie.
dbcountβ Specifies a pointer where the size of thedbnamesarray will be stored. π
β¨ RETURN VALUE β¨
DtSearchReinit returns DtSrOK and the current dbnames array if the reinitialization was successful or if reinitialization was not necessary. slay. π
It returns DtSrERROR and messages on the MessageList on any other condition. no cap. π
π SEE ALSO π
thatβs the whole thing, bestie π«Ά β footer vibes are the DtSearchReinit library call page; the original footer didnβt give a separate source/version or date line, so Iβm not inventing one, periodt. π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms