Skip to main content

Name

ec_log_reception — Log a message reception

Synopsis

#include "log.h"

| void **ec_log_reception** ( | ac, |   | |   | em, |   | |   | now, |   | |   | notestr); |   |

accept_construct * <var class="pdparam">ac</var>; ec_message * <var class="pdparam">em</var>; struct timeval * <var class="pdparam">now</var>; const string * <var class="pdparam">notestr</var>;

Description

This function logs a message reception.

Parameters

ac

The accept construct. For documentation of this data structure see “accept_construct”.

em

A pointer to an ec_message struct. For documentation of this data structure see “ec_message”.

now

A pointer to a timeval struct, which may be NULL.

notestr

Typical use is to pass NULL to this parameter, in which case the string to log is pulled from the message construct. You may override this by passing your own Delivery Status Notification (DSN) to use for logging the delivery attempt.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

Was this page helpful?