ec_message_unlink_on_free

March 26, 2020 Contributors

Name

ec_message_unlink_on_free — Marks the message as to be removed from disk when the last reference is dropped

Synopsis

#include "ec_message.h"

| void **ec_message_unlink_on_free** ( | mess); |   |

ec_message * <var class="pdparam">mess</var>;

Description

Marks the message as needing to be removed from disk when the last reference is dropped. This should only happen when the message has been explicitly failed or delivered.

Parameters

msg

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

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

ec_message_free.