.\" 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_GET_ENTRY" "" "06 October 2005" "" ""
.SH NAME
aac_get_entry \- get a queue entry
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int aac_get_entry (struct aac_dev * \fIdev\fB, u32 \fIqid\fB, struct aac_entry ** \fIentry\fB, u32 * \fIindex\fB, unsigned long * \fInonotify\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
Adapter
.TP
\fB\fIqid\fB\fR
Queue Number
.TP
\fB\fIentry\fB\fR
Entry return
.TP
\fB\fIindex\fB\fR
Index return
.TP
\fB\fInonotify\fB\fR
notification control
.SH "DESCRIPTION"
.PP
With a priority the routine returns a queue entry if the queue has free entries. If the queue
is full(no free entries) than no entry is returned and the function returns 0 otherwise 1 is
returned.