diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-02-08 00:58:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:44:49 -0500 |
commit | 07478016d7354274cd53ff2b4ec1dda3f0f439d1 (patch) | |
tree | ae2e3fdfd7a12fab6fc4ca244bda786d7a5bd09b /source4/cluster/cluster_private.h | |
parent | ecf2c1effb778a95fd863a5e87ec7e378d228b57 (diff) | |
download | samba-07478016d7354274cd53ff2b4ec1dda3f0f439d1.tar.gz samba-07478016d7354274cd53ff2b4ec1dda3f0f439d1.tar.bz2 samba-07478016d7354274cd53ff2b4ec1dda3f0f439d1.zip |
r21230: added the hooks needed in the cluster layer and the messaging code for
handling messages to remote nodes. Implemented dummy functions in the
'local' cluster backend for the messaging hooks, and modified the
messaging layer to check if the destination is remote and redirect
messages via the cluster layer
(This used to be commit 4474552e8fb73efebef32ad8480d7fe9a1e379ef)
Diffstat (limited to 'source4/cluster/cluster_private.h')
-rw-r--r-- | source4/cluster/cluster_private.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/cluster/cluster_private.h b/source4/cluster/cluster_private.h index 12d57badd0..2dc749d890 100644 --- a/source4/cluster/cluster_private.h +++ b/source4/cluster/cluster_private.h @@ -29,6 +29,13 @@ struct cluster_ops { TALLOC_CTX *, struct server_id ); struct tdb_wrap *(*cluster_tdb_tmp_open)(struct cluster_ops *, TALLOC_CTX *, const char *, int); + void *(*backend_handle)(struct cluster_ops *); + NTSTATUS (*message_init)(struct cluster_ops *ops, + struct messaging_context *msg, struct server_id server, + cluster_message_fn_t handler); + NTSTATUS (*message_send)(struct cluster_ops *ops, + struct server_id server, uint32_t msg_type, + DATA_BLOB *data); void *private; /* backend state */ }; |