ec_internal_inject2
Name
ec_internal_inject2 — Enqueues an internally generated message
Synopsis
#include "soft_bounce.h"
| void **ec_internal_inject2** (
| mess, | |
| | now, | |
| | flags)
; | |
ec_message * <var class="pdparam">mess</var>
;
struct timeval * <var class="pdparam">now</var>
;
int <var class="pdparam">flags</var>
;
Description
Enqueues an internally generated message. Ensures that the message is correctly swapped and has a proper binding assignment.
- mess
-
A pointer to an ec_message struct. For documentation of this data structure see “ec_message”
- now
-
A pointer to a
timeval struct
. - flags
-
An
int
parameter which is passed one or more of the following flags:-
If flags includes EC_INJECT_SIGN then it will call out to message signing hooks.
-
If flags includes EC_INJECT_LOG then it will log a reception.
-
This function returns void
.
It is legal to call this function in any thread.