.\" 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 "DCB_GET_NEXT" "" "06 October 2005" "" ""
.SH NAME
dcb_get_next \- Given a dcb return the next dcb in the list of
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct DeviceCtlBlk * dcb_get_next (struct list_head * \fIhead\fB, struct DeviceCtlBlk * \fIpos\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIhead\fB\fR
The pointer to the head of the list to count the items in.
.TP
\fB\fIpos\fB\fR
The pointer the dcb for which we are searching for the
following dcb.
.SH "DESCRIPTION"
.PP
dcb's, wrapping back to the start of the dcb list if required.
Returns the supplied dcb if there is only one dcb in the list.