ctdb_node_connect_write, node);
}
-/*
- destroy a ctdb_incoming structure
-*/
-static int ctdb_incoming_destructor(struct ctdb_incoming *in)
-{
- close(in->fd);
- in->fd = -1;
- return 0;
-}
-
/*
called when we get contacted by another node
currently makes no attempt to check if the connection is really from a ctdb
in->queue = ctdb_queue_setup(ctdb, in, in->fd, CTDB_TCP_ALIGNMENT,
ctdb_tcp_read_cb, in);
-
- talloc_set_destructor(in, ctdb_incoming_destructor);
}