DTMMDBDLPGETNEXTSECTIONID(3)
π DtMmdbDlpGetNextSectionId β like, the next section girlie π
okay so bestie, welcome to the DtMmdbDlpGetNextSectionId page β it's a library call, so it's one of those C functions you link against, not a command you type in your shell. Buckle up, she's cute and she's short. π
β¨ NAME β¨
DtMmdbDlpGetNextSectionId β literally just obtains the object identifier of the next section. that's it, that's the whole vibe. π
π¦ SYNOPSIS π¦
#include &<DtMmdb.h>
DtMmdbHandle* DtMmdbDlpGetNextSectionId(
DtMmdbInfoRequest* request);
yes, &<DtMmdb.h> is exactly what's on the page, no I did not fix it, no cap β write it how the manpage says it, bestie. π
πΈ DESCRIPTION πΈ
so the DtMmdbDlpGetNextSectionId function returns the object identifier of the next section. you use it to traverse the TOC hierarchy in a depth-first fashion β like scrolling a thread but the thread is a table of contents, iykyk. π§
when you're done with the object identifier, call the DtMmdbFreeHandleList function to release the memory. don't leave her hanging, that's a leak and leaks are not it. π
heads up: table lookup is involved. so it's doing actual work under the hood, not just vibing.
π ARGUMENTS π
requestβ specifies the bookcase in thebookcase_descriptorfield, plus the id of the current section in theprimary_oidfield. that's the whole assignment. π«Ά
π 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. like, that's the "you've reached the bottom, nothing to scroll to" signal. π
if it fails? returns a NULL pointer. sad girl hours. π
β EXAMPLE β
here's how a DtMmdbDlpGetNextSectionId call might be coded, straight up:
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 */
}
and yes,DtMMdbGroundIdwith the double-M is exactly how she appears here β copy it character for character, don't be clever,&&requesttoo. π₯
π SEE ALSO π
DtMmdbDlpGetPrevSectionId(3)β the other direction, for when you need to go back. she's right there, go say hi. π
and that's the page, bestie! this was DtMmdbDlpGetNextSectionId in the library call section β the footer's just the same title echoed back at ya, no version number or date to report, so consider this your cute little sign-off. mwah. ππ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms