libctdb: implement ctdb_disconnect and ctdb_detachdb
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 18 Jun 2010 06:05:52 +0000 (15:35 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 18 Jun 2010 06:05:52 +0000 (15:35 +0930)
commit18a212aa40d0ff9ff59775c6fcf9dc973e991460
tree3a9e2c224c742bf7a9a65dcb4749f6ce3ede7a20
parent936b02443d36306407d6a26e8037cf31e3190b32
libctdb: implement ctdb_disconnect and ctdb_detachdb

These are important for testing, since we can easily tell if we
leak memory if there are outstanding allocations after calling
these.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/ctdb.h
libctdb/ctdb.c
libctdb/messages.c
libctdb/messages.h