.\" 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 "GET_EVENT_STRUCT" "9" "09 October 2005" "" "" .SH NAME get_event_struct \- Gets the next free event in pool .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct srp_event_struct * get_event_struct (struct event_pool * \fIpool\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpool\fB\fR event_pool that contains the events to be searched .SH "DESCRIPTION" .PP Returns the next event in ``free'' state, and NULL if none are free. Note that no synchronization is done here, we assume the host_lock will syncrhonze things.