<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/defaults.c">
<Name>LQT_GetOption</Name>
<Class>Database/Defaults
<Purpose>
<P>This function returns the value of a configuration option.
The options at present include:
<List>
<LI><var>directory</var>, which is
the name of the directory containing the lq-text database;</LI>
<LI><var>stop list</var>, which is the name of a file containing words
that are not indexed;</LI>
<LI><var>file search path</var>, which is a colon-separated
list of directories that are searched for documents during indexing
and retrieval, and</LI>
<LI><var>phrase match level</var>, which determined how precisely
phrases are matched.</LI>
</List>
<Returns>
A pointer to the actual value; do not free this value.
<SeeAlso>
LQT_OpenDatabase
</Function>
<Decl>
API void *
LQT_GetOption(Options, Name)
    t_lqdbOptions *Options;
    char *Name;
</Decl>
</Entry>
