<!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_RemoveFileInfoFromIndex</Name>
<Class>Database/Update, Database/Documents
<Purpose>
Removes the given FileInfo from the FID<-->FileInfo maps.
It is the caller's responsibility to ensure that the given FID
is not referenced anywhere in a saved WordPlace.
<Returns>
<LIST>
<LI>zero on success
<LI>-1 on error
</LIST>
<SeeAlso>
LQT_NameToFID
LQT_DestroyFileInfo
<Errors>
Warns if the database can't be opened
</Function>
<Decl>
API int
LQT_RemoveFileInfoFromIndex(db, FileInfo)
    t_LQTEXT_Database *db;
    t_FileInfo *FileInfo;
</Decl>
</Entry>
