API char *
LQT_FindFile
(db, Name)
t_LQTEXT_Database *db;
char *Name;
Purpose
Returns a pointer to a full pathname, given a filename as stored in the lq-text File index. The current database DocPath is searched, and if that fails, an attempt is made to find the file with .bz2 appended, then with .gz, then with .Z appended.
The returned string points to a static buffer, and should not be freed. The buffer is overwritten on successive calls to LQT_FindĀFile(). This is not thread-safe.