*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtMmdbDlpGetPrevSectionId (3)              
Title
Content
Arch
Section
 

Contents


 DtMmdbDlpGetPrevSectionId(library calDlt)MmdbDlpGetPrevSectionId(library call)




 NAME    [Toc]    [Back]
      DtMmdbDlpGetPrevSectionId - obtains the object identifier of the
      previous section

 SYNOPSIS    [Toc]    [Back]
      #include <DtMmdb.h>
      DtMmdbHandle* DtMmdbDlpGetPrevSectionId(
      DtMmdbInfoRequest* request);

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      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    [Toc]    [Back]
      If DtMmdbDlpGetPrevSectionId completes successfully, it returns a
      pointer to the object identifier for the previous section or
      DtMmdbGroundId, if there is no previous section.  If it fails, it
      returns a NULL pointer.

 EXAMPLE    [Toc]    [Back]
      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    [Toc]    [Back]
      DtMmdbDlpGetNextSectionId(3)


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtMmdbDlpGetNextSectionId HP-UX obtains the object identifier of the next section
DtMmdbLocatorGetSectionObjectId HP-UX obtains the object identifier of a section
DtMmdbTocGetParentId HP-UX obtains the object identifier of the parent section
DtMmdbSectionGetBookId HP-UX obtains the object identifier of a book
DtMmdbSectionGetStyleSheetId HP-UX obtains the object identifier of a section's stylesheet
DtMmdbLocatorGetSectionLoc HP-UX obtains the locator of a section
DtMmdbSectionGetData HP-UX obtains the data for a section
DtMmdbSectionGetTocLoc HP-UX obtains the locator for a book's TOC section
DtMmdbSectionGetShortTitle HP-UX obtains the short title for a section
DtMmdbBookGetTocObjectId HP-UX obtains the locator of a book's TOC section
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service