<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/fileinfo.c">
<Name>LQT_NameToFID</Name>
<Class>Database/Retrieval, Database/Documents
<Purpose>
Returns the FID associated with a given file name
<Returns>
<LIST>
<LI>the FID on success
<LI>zero on failure
</LIST>
<SeeAlso>
LQT_FIDToFileInfo
LQT_GetMaxOrAllocateFID
<Errors>
Warns if the database can't be opened.
If the filename is not matched in the database, no warning
is given, but zero is returned.
</Function>
<Decl>
API t_FID
LQT_NameToFID(db, Name)
    t_LQTEXT_Database *db;
    char *Name;
</Decl>
</Entry>
