Add a double linked list to the ctdb_context to store a mapping between client pids...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 2 Dec 2009 02:41:04 +0000 (13:41 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 2 Dec 2009 02:41:04 +0000 (13:41 +1100)
commitf75d379377f5d4abbff2576ddc5d58d91dc53bf4
tree075e0afdaa115401bab6992b48d2c6f6ab536602
parentb4a7efa7e53e060a91dea0e8e57b116e2aeacebf
Add a double linked list to the ctdb_context to store a mapping between client pids and client structures.

Add the mapping to the list everytime we accept() a new client connection
and set it up to remove in the destructor when the client structure is freed.
include/ctdb_private.h
server/ctdb_daemon.c