<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/rpblock.c">
<Name>LQT_Getpblock</Name>
<Class>Database/Retrieval, Database/Physical
<Purpose>
Returns a freshly malloc'd t_pblock containing all of the WordPlaces
for a given WordInfo; one for each occurrence of that word in the
database.
<Returns>
<LIST>
<LI>the number of words added on success;
<LI>-1 if the file couldn't be opened.
</LIST>
<Errors>
Warns if the file can't be opened.
<SeeAlso>
LQT_GetpblockWhere
</Function>
<Decl>
API t_pblock *
LQT_Getpblock(db, WordInfo)
    t_LQTEXT_Database *db;
    t_WordInfo *WordInfo;
</Decl>
</Entry>
