DTSEARCHREINIT(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– 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. 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. so keep that index energy in mind, bestie.

  • dbcount β€” Specifies a pointer where the size of the dbnames array 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