Data Fields
pooled_connection Struct Reference

A pooled connection. More...

#include <pool.h>

Data Fields

struct list_head list
 List of pooled connections. More...
struct retry_timer timer
 Expiry timer. More...
void(* expired )(struct pooled_connection *pool)
 Close expired pooled connection. More...
unsigned int flags
 Flags. More...

Detailed Description

A pooled connection.

Definition at line 17 of file pool.h.

Field Documentation

◆ list

struct list_head pooled_connection::list

List of pooled connections.

Note that each connecton in the pool has a running expiry timer which holds a reference to the connection. We therefore do not require the connection pool list to hold a reference for each pooled connection.

Definition at line 25 of file pool.h.

◆ timer

struct retry_timer pooled_connection::timer

Expiry timer.

Definition at line 27 of file pool.h.

◆ expired

void( * pooled_connection::expired) (struct pooled_connection *pool)

Close expired pooled connection.

poolPooled connection

Definition at line 32 of file pool.h.

◆ flags

unsigned int pooled_connection::flags


Definition at line 34 of file pool.h.

The documentation for this struct was generated from the following file: