Query: dtmmdbsectiongetloc
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DtMmdbSectionGetLoc(library call) DtMmdbSectionGetLoc(library call)NAMEDtMmdbSectionGetLoc -- obtains a section's locatorSYNOPSIS#include <DtMmdb.h> const char* DtMmdbSectionGetLoc( DtMmdbInfoRequest* request);DESCRIPTIONThe DtMmdbSectionGetLoc function returns the logical identifier for the specified section. Do not use the free function on the returned pointer. No table lookup is involved. The space used by the returned locator pointer is likely to be reused by the database engine when any of the API functions are invoked again. You must make a copy of the content if you want to retain it across multiple API calls. This behavior holds true for all functions that return a const char* pointer.ARGUMENTSrequest Specifies the bookcase in the bookcase descriptor field and the section's Database Engine (object) identifier in the primary_oid field. The DtInfo Database Engine identifier is assigned to the section when it is stored.RETURN VALUEIf DtMmdbSectionGetLoc completes successfully, it returns a pointer to a NULL-terminated locator string. If it fails, it returns a NULL pointer.EXAMPLEThe following shows how a DtMmdbSectionGetLoc call might be coded. const char* locator = 0; DtMmdbInfoRequest request; int bd = DtMmdbGetBookCase(myInfoLibPtr, "myBase"); if ( bd >= 0) { request.bookcase_descriptor = bd; request.sequence_num = 1; request.primary_oid = DtMmdbBookGetTocObjectId(&request); locator = DtMmdbSectionGetLoc(&request); }SEE ALSOTO BE SUPPLIED DtMmdbSectionGetLoc(library call)
Related Man Pages |
---|
dtinfoshowtopic(3) - hpux |
dtmmdbdlpgetnextsectionid(3) - hpux |
dtmmdbdlpgetprevsectionid(3) - hpux |
dtmmdbsectiongetloc(3) - hpux |
dtmmdbsectiongetshorttitle(3) - hpux |
Similar Topics in the Unix Linux Community |
---|
S-290: Vulnerability in Microsoft Jet Database Engine (JET) |
locator led SUN T2000 |