lq-text: LQT_NameToFID
File:
liblqtext/fileinfo.c
Category:
Database/Retrieval
Database/Documents
See Also:
LQT_FIDToFileInfo
LQT_GetMaxOrAllocateFID
All Categories:
Overview
Database/Database
Database/Defaults
Database/Documents
Database/Dynamic Hashing
Database/Files
Database/Physical
Database/Retrieval
Database/Update
Database/Words
Error Handling
Input
Language/Stemming
Language/Stop List
Memory
Other/Terminal
Output
Retrieval/Matching
Retrieval/Phrases
Tracing
Utilities/Files
Utilities/Glue
Utilities/Memory
Utilities/Name Space
Utilities/Numeric Range
Utilities/Strings
Utilities/System
API t_FID
LQT_NameToFID
(db, Name) t_LQTEXT_Database *db; char *Name;
Purpose
Returns the FID associated with a given file name
Returns
the FID on success
zero on failure
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.
See Also:
LQT_FIDToFileInfo
LQT_GetMaxOrAllocateFID