ec_mailq_find_live_message

March 26, 2020 Contributors

Name

ec_mailq_find_live_message — Finds a message in the message queues and returns it

Synopsis

#include "mail_queue.h"

| ec_message * **ec_mailq_find_live_message** ( | mid); |   |

message_id * <var class="pdparam">mid</var>;

Description

This function finds a message in the message queues and returns it. The message is still queued.

Parameters

mid

A message_id struct. For a definition of this data structure see “message_id”.

Return Values

This function returns an ec_message struct. For a definition of this data structure see “ec_message”.

Threading

It is legal to call this function in the Scheduler thread.

See Also

ec_mailq_dequeue_live_message, ec_mailq_message_requeue and ec_mailq_insert_active