.\" 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 "AAC_CONSUMER_GET" "" "06 October 2005" "" ""
.SH NAME
aac_consumer_get \- get the top of the queue
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int aac_consumer_get (struct aac_dev * \fIdev\fB, struct aac_queue * \fIq\fB, struct aac_entry ** \fIentry\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
Adapter
.TP
\fB\fIq\fB\fR
Queue
.TP
\fB\fIentry\fB\fR
Return entry
.SH "DESCRIPTION"
.PP
Will return a pointer to the entry on the top of the queue requested that
we are a consumer of, and return the address of the queue entry. It does
not change the state of the queue.