#ifndef EVENT_H_
#define EVENT_H_

#include <apci3600-events.h> /* defines apci3600_event_t */

#include "apci3600-def.h"

/* sleep until an event comes - event is returned in evt - 
 * this command doesn't handle multiple access */
int apci3600_wait_for_event( struct apci3600_card_t * pboard, apci3600_event_t* pevt );

int __needlock apci3600_empty_event_buffer( struct apci3600_card_t * pboard );

#endif /*EVENT_H_*/
