.\" 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 "DN_CHECK_IDF" "" "06 October 2005" "" ""
.SH NAME
dn_check_idf \- Check an image data field format is correct.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int dn_check_idf (unsigned char ** \fIpptr\fB, int * \fIlen\fB, unsigned char \fImax\fB, unsigned char \fIfollow_on\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpptr\fB\fR
Pointer to pointer to image data
.TP
\fB\fIlen\fB\fR
Pointer to length of image data
.TP
\fB\fImax\fB\fR
The maximum allowed length of the data in the image data field
.TP
\fB\fIfollow_on\fB\fR
Check that this many bytes exist beyond the end of the image data
.SH "RETURNS"
.PP
0 if ok, -1 on error