<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/docpath.c">
<Name>LQT_FindFile</Name>
<Class>Database/Documents
<Purpose>
<P>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 .gz appended, then with .Z
appended.</P>
<P>The returned string points to a static buffer, and should not
be freed.  The buffer is overwritten on successive calls to
LQT_FindFile().</P>
<Bugs>
Does not understand the archive name notation, archive(filename).
</Function>
<Decl>
API char *
LQT_FindFile(db, Name)
    t_LQTEXT_Database *db;
    char *Name;
</Decl>
</Entry>
