<!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_RenameFileInIndex</Name>
<Class>Database/Update, Database/Documents
<Purpose>
Changes the filename associated with a FID, by finding the FID
for the old filename and then replacing its filename.
<Returns>
<LIST>
<LI>zero on success
<LI>-1 on error
</LIST>
<Errors>
Warns if the database can't be opened or the file isn't indexed.
</Function>
<Decl>
API int
LQT_RenameFileInIndex(db, OldName, NewName)
    t_LQTEXT_Database *db;
    char *OldName;
    char *NewName;
</Decl>
</Entry>
