.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "LDM_PARSE_TOCBLOCK" "9" "09 October 2005" "" ""
.SH NAME
ldm_parse_tocblock \- Read the LDM Database TOCBLOCK structure
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
BOOL ldm_parse_tocblock (const u8 * \fIdata\fB, struct tocblock * \fItoc\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdata\fB\fR
Raw database TOCBLOCK structure loaded from the device
.TP
\fB\fItoc\fB\fR
In-memory toc structure in which to return parsed information
.SH "DESCRIPTION"
.PP
This parses the LDM Database TOCBLOCK (table of contents) structure supplied
in \fIdata\fR and sets up the in-memory tocblock structure \fItoc\fR with the obtained
information.
.PP
N.B. The *_start and *_size values returned in \fItoc\fR are not range-checked.
.SH "RETURN"
.PP
TRUE \fItoc\fR contains the TOCBLOCK data
FALSE \fItoc\fR contents are undefined