lq-text: LQT_FIDToFileInfo

API t_FileInfo * LQT_FIDToFileInfo (db, FID) t_LQTEXT_Database *db; t_FID FID;

Purpose

Returns the in-memory t_FileInfo struct associated with a given FID, reading the information from the database as necessary. The returned value, if non-zero, is created with malloc; it is the caller's responsibility to free the storage.

Returns

Errors

Warns if the database can't be opened.

See Also: