dec_inbound_connections

March 26, 2020 Contributors

Name

dec_inbound_connections — Decrement the number of global inbound connections by 1

Synopsis

#include connection.h"

| void **dec_inbound_connections** ( | typename, |   |
|   | fd, |   |
|   | ac); |   |

char * <var class="pdparam">typename</var>;
int <var class="pdparam">fd</var>;
accept_construct * <var class="pdparam">ac</var>;

Description

Decrement the number of global inbound connections by 1.

Parameters

char *

The connection type, such as SMTP.

fd

The file descriptor of the connection.

ac

The address of an “accept_construct” associated with the session.

Return Values

This function returns void.

Threading

It is only legal to call this function in the Scheduler thread.

See Also

“accept_construct”