/* Initialise the struct stream_descr so that we can extract individual events from the event stream.  */
void iw_init_event_stream(struct stream_descr *stream, char *data, int len)
/* Initialise the struct stream_descr so that we can extract individual events from the event stream.  */
void iw_init_event_stream(struct stream_descr *stream, char *data, int len)
{
  memset((char *) stream, '\0', sizeof(struct stream_descr));
  stream->current = data;
  stream->end = data + len;
}