check_outbound_mess_throttle
Name
check_outbound_mess_throttle
Synopsis
#include "hooks/core/check_outbound_mess_throttle.h"
| int **check_outbound_mess_throttle** (
| closure, | |
| | binding_id, | |
| | dr, | |
| | now, | |
| | later)
; | |
void * <var class="pdparam">closure</var>
;
int <var class="pdparam">binding_id</var>
;
domain_record * <var class="pdparam">dr</var>
;
struct timeval * <var class="pdparam">now</var>
;
struct timeval * <var class="pdparam">later</var>
;
| int **has_core_check_outbound_mess_throttle_hook** (
| )
; | |
| void **register_core_check_outbound_mess_throttle_hook_first** (
| hook, | |
| | closure)
; | |
ec_hook_core_check_outbound_mess_throttle_func_t <var class="pdparam">hook</var>
;
void *<var class="pdparam">closure</var>
;
| void **register_core_check_outbound_mess_throttle_hook_last** (
| hook, | |
| | closure)
; | |
ec_hook_core_check_outbound_mess_throttle_func_t <var class="pdparam">hook</var>
;
void *<var class="pdparam">closure</var>
;
| int **call_core_check_outbound_mess_throttle_hook** (
| binding_id, | |
| | dr, | |
| | now, | |
| | later)
; | |
int <var class="pdparam">binding_id</var>
;
domain_record * <var class="pdparam">dr</var>
;
struct timeval * <var class="pdparam">now</var>
;
struct timeval * <var class="pdparam">later</var>
;
Description
Called when a throttle is checked. Returning non-zero causes the session to be suspended until at least 'later'