API char *
LQT_FIDToDocumentTitle
(db, FID, Name)
t_LQTEXT_Database *db;
t_FID FID;
char *Name;
Purpose
Returns a document title (from the database titles file) for a given FID. A binary search is used to locate a line in the titles file which starts with the given FID, as a decimal ASCII number, followed by a tab; the remainder of that line up to a newline or EOF is returnd. The second (Name) argument is only used on error.Returns
- the title on success, in a static buffer
- The given Name pointer on error.