annotate_batch — Allow a module to assume responsibility for batch annotation
int **core_annotate_batch** ( | closure, | |
| | head
); | |
This hook allows a module to assume responsibility for batch annotation. Add the custom annotation to the message context of each message in the batch. When using this hook you must also use the
assess_batch hook to read this custom annotation.
A pointer to the closure function.
This parameter is the
sp_async_messagehead pointer that contains the whole batch. For a description of this data type see sp_async_message.
If this hook returns
1, then the standard batch annotation is not performed and no other implementations of this hook are called.
This hook will be called in the