Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtmmdbbookgettocobjectid(3) [hpux man page]

DtMmdbBookGetTocObjectId(library call)									    DtMmdbBookGetTocObjectId(library call)

NAME
DtMmdbBookGetTocObjectId -- obtains the locator of a book's TOC section SYNOPSIS
#include <DtMmdb.h> DtMmdbHandle* DtMmdbBookGetTocObjectId( DtMmdbInfoRequest* request); DESCRIPTION
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
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 rep- resents 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
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
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
TO BE SUPPLIED. DtMmdbBookGetTocObjectId(library call)

Check Out this Related Man Page

DtMmdbDlpGetNextSectionId(library call) 								   DtMmdbDlpGetNextSectionId(library call)

NAME
DtMmdbDlpGetNextSectionId -- obtains the object identifier of the next section SYNOPSIS
#include <DtMmdb.h> DtMmdbHandle* DtMmdbDlpGetNextSectionId( DtMmdbInfoRequest* request); DESCRIPTION
The DtMmdbDlpGetNextSectionId function returns the object identifier of the next 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 DtMmdbDlpGetNextSectionId completes successfully, it returns a pointer to the object identifier for the next section or DtMmdbGroundId, if there is no next section. If it fails, it returns a NULL pointer. EXAMPLE
The following shows how a DtMmdbDlpGetNextSectionId call might be coded. DtMmdbHandle* my_oid; DtMmdbInfoRequest request; request.bookcase_descriptor = DtMmdbGetBookCase(myInfoLibPtr, "myBase"); request.primary_oid = my_oid; DtMmdbHandle* x = DtMmdbDlpGetNextSectionId(&request); if ( x == DtMMdbGroundId) { /* no next section */ } else { if (x == 0) { /* bad request */ } else { /* make use of x */ } SEE ALSO
DtMmdbDlpGetPrevSectionId(3) DtMmdbDlpGetNextSectionId(library call)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

the book Hacking Linux Exposed

i have the book Hacking Linux Exposed. Why is it that a lot of these commands dont work in my RH8 system? Do you need a special package? Or are they outdated? (11 Replies)
Discussion started by: ASpin
11 Replies

2. Linux

Windows 2000 to Linux

:confused: I currently have windows 2000 installed on a 38 Gigabyte HD. I recently picked up a 'Teach Yourself Linux in 24 Hours' book. The book comes with a copy of redhat 5.0 (hurricane). I tried reinstalling windows with a partition of 10 GBs with a fat32 file system. That left me with... (5 Replies)
Discussion started by: Rawdawg
5 Replies

3. UNIX for Dummies Questions & Answers

Good unix "for lamers/beginners" book?

Im pretty new to unix, as you can probably tell. Anyway I want to get a book on unix and howto use it. I would like to get a book that goes from the very basics to the advanced things that unix can be used for, does anyone have any suggestions?? (16 Replies)
Discussion started by: MadProfessor
16 Replies

4. Shell Programming and Scripting

Online/downloadable Shell Scripting book

Greetings All!! I am looking out for a comprehensive shell scripting book (unix & linux). I would request you to kindly post the links to get donwloadable/online books. I would prefer for the "Linux and Unix shell programming" by David Tansley. Any help will be highly appreciable. Cheers ... (5 Replies)
Discussion started by: arminder
5 Replies

5. UNIX for Dummies Questions & Answers

Booting Up help needed

Good day, i'm an absolute newbie on SunOs. just finished reading a book about it and decided to have a go. However, things did not go as smooth as i had thought. The system doesn't respond to anything after booting up. I have no idea what is wrong.I've managed to jot down the screen. Any form... (11 Replies)
Discussion started by: moss
11 Replies

6. UNIX for Dummies Questions & Answers

Search for unix book

hello everyone, i wish to know anyone have any recommended good book about unix from for beginner until advanced? i wish to buy just 1 book, that include most of the useful part. i just review a book name "UNIX - in the nutshell 4th edition", is it suitable for me as a newbie? If not, any else... (4 Replies)
Discussion started by: chuwfan
4 Replies

7. UNIX for Dummies Questions & Answers

Unix book (urgent help needed)

hi guys i am new to UNIX and i am very much excited to learn how it works.. i was very confused with how to start and what book to follow so i went to my lecturer and asked him if he could suggest something. he advised me to get this book Your UNIX: The Ultimate Guide by "Sumitabha Das" ISBN:... (4 Replies)
Discussion started by: prabhashkashyap
4 Replies

8. Programming

URGENT:::Can anybody help me in creating message queue appliction??

hello, I had to implement a message queue application....between 30 processes...... all 30 proceses are getting data from serial port.... And here is THE FLOW::::::::1 connector process...which is linked with message queue to all the 30 applications. Processes get the data from serial port and... (9 Replies)
Discussion started by: arunchaudhary19
9 Replies

9. UNIX for Advanced & Expert Users

suggest book

Hi I am new to Unix/Linux I know commands and shell scripts which are useful for my project. But i need to know the basics and commands and shell scripts in detail and easy guide. Please refer a book. Thanks Haripatn (6 Replies)
Discussion started by: haripatn
6 Replies

10. AIX

Need a Good AIX Book

I'm an AIX newby:eek: and need to learn fast (I go on a course in a few week's time but I need to know some stuff now:mad:). Can anybody recommend a good AIX book please? Not too basic though - I've been in software for many years (8bit/16bit/32bit, etc, Intel/Microsoft/FORTRAN/68000/anything... (9 Replies)
Discussion started by: Pennant Man
9 Replies

11. Shell Programming and Scripting

Any book to learn perl scripting

Hi, Please suggest me any good book to learn pearl scripting. Thanks in advance !!!!:) (5 Replies)
Discussion started by: vkvishwakarma6
5 Replies

12. UNIX for Dummies Questions & Answers

What is meant by subprocesses?

I'm going through my UNIX book and came across a section on Customization and Subprocesses. Can someone tell me what a subprocess is -- for example, when the book says "Which shell 'thing' are known to subprocesses" what exactly does it mean? The book just talks about it without defining it... (10 Replies)
Discussion started by: Straitsfan
10 Replies

13. What is on Your Mind?

looking for a book suggestion

On the basic concepts of programming. I mean I am 100% self taught so I need a book to fix all my bad habits and misconceptions. I mean I want a solid book over the basics. Explains what an array is, a string, variable, stacks, and so forth. I only know how to write code in shell,... (7 Replies)
Discussion started by: tlarkin
7 Replies

14. AIX

aix 000-221 exam preparation

hi guys, i would like to take the exam in object, can you pls suggest me what kind of book or documentation i need to read to know all aix 7 features? (apart hand-on experience) Thanks so much Giulio (7 Replies)
Discussion started by: gullio23
7 Replies

15. Programming

Which C++ book do you recommend?

Hello, May be my post may look naive to many...but it isn't if you were to believe me.After, trying to learn programming in C for at least 5 years , I concluded that K & R is the best book to learn C, alas I took a lot of time to realize this. So, I'm going to start learning how to program... (8 Replies)
Discussion started by: blackwhite
8 Replies