Unix and Linux Discussions Tagged with previous |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,259 |
Shell Programming and Scripting |
|
|
|
5 |
5,365 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,347 |
Forum Support Area for Unregistered Users & Account Problems |
|
|
|
4 |
7,326 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
33,999 |
HP-UX |
|
|
|
3 |
4,610 |
Shell Programming and Scripting |
|
|
|
1 |
7,110 |
Shell Programming and Scripting |
|
|
|
3 |
14,822 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,111 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,574 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,293 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,398 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,251 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,372 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
68,353 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,252 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,077 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,383 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,210 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,817 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
52,064 |
UNIX for Dummies Questions & Answers |
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)