.\" 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 "IB_UNPACK" "9" "09 October 2005" "" "" .SH NAME ib_unpack \- Unpack a buffer into a structure .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void ib_unpack (const struct ib_field * \fIdesc\fB, int \fIdesc_len\fB, void * \fIbuf\fB, void * \fIstructure\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdesc\fB\fR Array of structure field descriptions .TP \fB\fIdesc_len\fB\fR Number of entries in \fIdesc\fR .TP \fB\fIbuf\fB\fR Buffer to unpack from .TP \fB\fIstructure\fB\fR Structure to unpack into .SH "DESCRIPTION" .PP \fBib_pack\fR unpacks a list of structure fields from a buffer, controlled by the array of fields in \fIdesc\fR\&.