msg_gen_data_spool

March 26, 2020 Contributors

Name

msg_gen_data_spool — This hook is invoked after a message has been generated by the msg_gen module

Synopsis

#include "hooks/msg_gen/msg_generator.h"

| void **msg_gen_data_spool** ( | mess); |   |

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

Description

This hook is invoked after the message has been generated. The pointer passed to this function points to the newly generated message.

Warning

Messages rejected at this hook point are not reported in the UI as rejections.

Parameters

mess

A pointer to the new ec_message. For a description of this struct see ec_message.

Return Values

This hook returns void.

Threading

This hook will be called in any thread.

See Also

msg_gen Module