int idmef_message_read (idmef_message_t *idmef, prelude_msg_t *msg);
idmef_message_read() extract an IDMEF message from msg and store it into idmef.