.Overview "Database/Defaults"
This category relates to user preferences, which may be found in the database
configuration file \*[+c]README\*[-c], in the environment or
on the command-line on operating systems where those make sense,
or in a per-user configuration file.
.P
Currently, most of the preferences and configuration code exists only
as a set of place-holders.
.P
A program should do the following on startup:
.List
.LI "Set the global variable progname to a useful value;"
.LI
Call \*[+fn]LQT_Init\%From\%Argv\*[-fn] to obtain an Options object;
this may result in argv being changed.
.LI
Handle any program-specific command-line options;
.LI
Call \*[+fn]LQT_Open\%Data\%base\*[-fn] with the Options object obtained
earlier, and also with \*[+c]O_RDONLY\*[-c] or \*[+c]O_RDWR\*[-c] as
appropriate.
./List
.P
Finally, on exit, the program should call \*[+fn]LQT_Close\%Database\*[-fn];
this is optional if you only used read-only access to the database.
./Overview
