DtMmdbDlpGetPrevSectionId man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

DtMmdbDlpGetPrevSectionId(library call)DtMmdbDlpGetPrevSectionId(library call)

NAME
       DtMmdbDlpGetPrevSectionId — obtains the object identifier of the previ‐
       ous 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  DtMmdb‐
       GroundId,  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)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net