Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtmmdbsectiongetlongtitle(3) [hpux man page]

DtMmdbSectionGetLongTitle(library call) 								   DtMmdbSectionGetLongTitle(library call)

NAME
DtMmdbSectionGetLongTitle -- obtains the long title for a section SYNOPSIS
#include <DtMmdb.h> const char* DtMmdbSectionGetLongTitle( DtMmdbInfoRequest* request, unsigned int* length); DESCRIPTION
The DtMmdbSectionGetLongTitle function returns the long title for the specified section. Do not use the free function on the returned pointer. Table lookup is involved if the section identifier is specified by the locator_ptr field. ARGUMENTS
request Specifies the bookcase in the bookcase descriptor field and either the section's Database Engine identifier (in the primary_oid field) or the section's logical identifier (in the locator_ptr field). If both of these fields have a value, DtMmdbSectionGet- LongTitle uses the locator_ptr value. length Specifies the variable to receive the length of the returned long title, if the returned pointer to the title is not NULL. RETURN VALUE
If DtMmdbSectionGetLongTitle completes successfully, it returns a pointer to a NULL-terminated long title character string. If it fails, it returns a NULL pointer. EXAMPLE
The following shows how a DtMmdbSectionGetLongTitle call might be coded. DtMmdbInfoRequest request; /* fill the request field here */ DtMmdbSectionGetLongTitle(&request); SEE ALSO
DtMmdbSectionGetShortTitle(3) DtMmdbSectionGetLongTitle(library call)

Check Out this Related Man Page

DtMmdbDlpGetPrevSectionId(library call) 								   DtMmdbDlpGetPrevSectionId(library call)

NAME
DtMmdbDlpGetPrevSectionId -- obtains the object identifier of the previous section SYNOPSIS
#include <DtMmdb.h> DtMmdbHandle* DtMmdbDlpGetPrevSectionId( DtMmdbInfoRequest* request); DESCRIPTION
The DtMmdbDlpGetPrevSectionId function returns the object identifier of the previous section. You can use this function to traverse the TOC hierarchy in a depth-first fashion. Use the DtMmdbFreeHandleList function to release the memory when the object identifier is no longer needed. Table lookup is involved. ARGUMENTS
request Specifies the bookcase in the bookcase descriptor field, as well as the id of the current section in the primary_oid field. RETURN VALUE
If DtMmdbDlpGetPrevSectionId completes successfully, it returns a pointer to the object identifier for the previous section or DtMmdbGroun- dId, if there is no previous section. If it fails, it returns a NULL pointer. EXAMPLE
The following shows how a DtMmdbDlpGetPrevSectionId call might be coded. DtMmdbInfoRequest request; /* fill the request here */ DtMmdbHandle* x = DtMmdbDlpGetPrevSectionId(&request); if ( x == DtMMdbGroundId) { /* no previous section */ } else { if (x == 0) { /* bad request */ } else { /* make use of x */ } SEE ALSO
DtMmdbDlpGetNextSectionId(3) DtMmdbDlpGetPrevSectionId(library call)
Man Page