Gearmand Connections
Detailed Description
Connection handling for gearmand.
Function Documentation
Create a new gearmand connection.
- Parameters:
-
| gearmand | Server instance structure previously initialized with gearmand_create. |
| fd | File descriptor of new connection. |
| host | Host of peer connection. |
| port | Port of peer connection. |
| add_fn | Optional callback to use when adding the connection to an I/O thread. |
- Returns:
- Pointer to an allocated gearmand structure.
Free resources used by a connection.
- Parameters:
-
| dcon | Connection previously initialized with gearmand_con_create. |
Check connection queue for a thread.
Callback function used for setting events in libevent.