trx is the type of "mm7_transaction" defined in “Purpose”.
The C implementation uses the following interface:
static int sample_mm7_request_eval_hook(void* gself, mm7_transaction* trx)
This hook is the same as the other C hooks. The function name is not significant as long as it is registered during module initialization. See “MM7 Server Received Message Hook: C Example”.