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

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

Contents


 DtMmdbBookGetTocObjectId(library call)DtMmdbBookGetTocObjectId(library call)




 NAME    [Toc]    [Back]
      DtMmdbBookGetTocObjectId - obtains the locator of a book's TOC section

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

 DESCRIPTION    [Toc]    [Back]
      The DtMmdbBookGetTocObjectId function returns the object identifier of
      the specified book's TOC section.  Use the DtMmdbFreeHandleList
      function to release the memory when the object identifier is no longer
      needed. Table lookup is involved when the identifier is specified by
      either the primary_oid or sequence_num field.

 ARGUMENTS    [Toc]    [Back]
      request   Specifies the bookcase in the bookcase descriptor field, as
                well as a valid value in the primary_oid, the secondary_oid,
                or the sequence_num field.  The primary_oid represents the
                DtInfo Database object identifier of the TOC section; the
                secondary_oid represents the object identifier of the book
                itself; and the sequence_num represents the sequence number
                of the book within the bookcase (0 based).  If more than one
                of these fields have a valid value, the order of precedence
                is: primary_oid, secondary_oid, and, last, sequence_num.

 RETURN VALUE    [Toc]    [Back]
      If DtMmdbBookGetTocObjectId completes successfully, it returns a
      pointer to the object identifier for the book's TOC section. If it
      fails, it returns a NULL pointer.

 EXAMPLE    [Toc]    [Back]
      The following shows how a DtMmdbBookGetTocObjectId call might be
      coded.

      DtMmdbInfoRequest request;
      request.bookcase_descriptor = DtMmdbGetBookCase(myInfoLibPtr, "myBase");
      request.sequence_num = 1;
      DtMmdbBookGetTocObjectId(&request);

 SEE ALSO    [Toc]    [Back]
      TO BE SUPPLIED.


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtMmdbLocatorGetSectionLoc HP-UX obtains the locator of a section
DtMmdbSectionGetTocLoc HP-UX obtains the locator for a book's TOC section
DtMmdbSectionGetLoc HP-UX obtains a section's locator
DtMmdbBookGetShortTitle HP-UX obtains the short title of a book
DtMmdbSectionGetBookId HP-UX obtains the object identifier of a book
DtMmdbBookGetLongTitle HP-UX obtains the long title of a book
DtMmdbBookGetTabList HP-UX obtains the list of tab sections in a book
DtMmdbBookGetSeqNum HP-UX obtains the sequence number of a book
DtMmdbSectionGetData HP-UX obtains the data for a section
DtMmdbLocatorGetSectionObjectId HP-UX obtains the object identifier of a section
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service