1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r21233: first version of samba4 messaging using ctdb is working. This means we

should now work on a real cluster, and not just a localhost simulator
(This used to be commit f05072ad74)
This commit is contained in:
Andrew Tridgell
2007-02-08 02:59:58 +00:00
committed by Gerald (Jerry) Carter
parent aa40cc408b
commit a2eff69b4b
4 changed files with 88 additions and 14 deletions

View File

@ -80,8 +80,7 @@ struct tdb_wrap *cluster_tdb_tmp_open(TALLOC_CTX *mem_ctx, const char *dbname, i
register a callback function for a messaging endpoint
*/
NTSTATUS cluster_message_init(struct messaging_context *msg, struct server_id server,
void (*handler)(struct messaging_context *,
struct server_id, uint32_t, DATA_BLOB))
cluster_message_fn_t handler)
{
cluster_init();
return ops->message_init(ops, msg, server, handler);