libctdb: uniform callbacks, _recv functions to pull out data.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 24 May 2010 03:47:36 +0000 (13:17 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 24 May 2010 03:47:36 +0000 (13:17 +0930)
commitebe4dd724338c156423cfdcc10a75b68c2084cde
tree523a4970db3e0b15adeed1b46bcbc84c46125828
parent1c2f08f104cf6b5f97998a3b9a426a4c5dfd4752
libctdb: uniform callbacks, _recv functions to pull out data.

This is a bit tricky for those cases where we need to do multiple or
zero I/Os (eg. attachdb and readrecordlock), but works well for the
simple cases.
include/ccan/typesafe_cb.h [new file with mode: 0644]
include/ctdb.h
libctdb/control.c
libctdb/ctdb.c
libctdb/io_elem.c
libctdb/io_elem.h
libctdb/libctdb_private.h
libctdb/messages.c
libctdb/sync.c
libctdb/tst.c