inc_inbound_connections
Name
inc_inbound_connections
Synopsis
#include "hooks/core/inc_inbound_connections.h"
| void **inc_inbound_connections** (
| closure, | |
| | conntype, | |
| | fd, | |
| | ac)
; | |
void * <var class="pdparam">closure</var>
;
char * <var class="pdparam">conntype</var>
;
int <var class="pdparam">fd</var>
;
accept_construct * <var class="pdparam">ac</var>
;
| int **has_core_inc_inbound_connections_hook** (
| )
; | |
| void **register_core_inc_inbound_connections_hook_first** (
| hook, | |
| | closure)
; | |
ec_hook_core_inc_inbound_connections_func_t <var class="pdparam">hook</var>
;
void *<var class="pdparam">closure</var>
;
| void **register_core_inc_inbound_connections_hook_last** (
| hook, | |
| | closure)
; | |
ec_hook_core_inc_inbound_connections_func_t <var class="pdparam">hook</var>
;
void *<var class="pdparam">closure</var>
;
| void **call_core_inc_inbound_connections_hook** (
| conntype, | |
| | fd, | |
| | ac)
; | |
char * <var class="pdparam">conntype</var>
;
int <var class="pdparam">fd</var>
;
accept_construct * <var class="pdparam">ac</var>
;
Description
Upon reception of a new connection this hook will be invoked once. conntype
represents the type of connection (e.g. "SMTP"). fd
is the file descriptor of the accepted connection. ac
is the accept_construct
associated with the new session.