diff options
author | Volker Lendecke <vl@samba.org> | 2014-07-17 11:57:51 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-08-11 23:57:13 +0200 |
commit | a1529c3302656fad3daf1247141a987d36801066 (patch) | |
tree | 7900d897f1c22fef2599a596c05553a751cd124a /source3/include/messages.h | |
parent | 274998fb89e9225db5549e8a6500cbe982e84c42 (diff) | |
download | samba-a1529c3302656fad3daf1247141a987d36801066.tar.gz |
messaging3: Add messages_dgm.h
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include/messages.h')
-rw-r--r-- | source3/include/messages.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h index 81f29db5d7d..862e5ea94d2 100644 --- a/source3/include/messages.h +++ b/source3/include/messages.h @@ -59,6 +59,7 @@ #define MSG_SRVID_SAMBA 0x0000000100000000LL #include "librpc/gen_ndr/server_id.h" +#include "lib/messages_dgm.h" #define MSG_BROADCAST_PID_STR "0:0" @@ -73,29 +74,6 @@ struct messaging_backend { void *private_data; }; -struct messaging_dgm_context; -int messaging_dgm_init(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - struct server_id pid, - const char *cache_dir, - uid_t dir_owner, - void (*recv_cb)(int msg_type, - struct server_id src, - struct server_id dst, - const uint8_t *msg, - size_t msg_len, - void *private_data), - void *recv_cb_private_data, - struct messaging_dgm_context **pctx); -int messaging_dgm_send(struct messaging_dgm_context *ctx, - struct server_id src, struct server_id pid, - int msg_type, const struct iovec *iov, int iovlen); -int messaging_dgm_cleanup(struct messaging_dgm_context *ctx, pid_t pid); -int messaging_dgm_wipe(struct messaging_dgm_context *ctx); -void *messaging_dgm_register_tevent_context(TALLOC_CTX *mem_ctx, - struct messaging_dgm_context *ctx, - struct tevent_context *ev); - NTSTATUS messaging_ctdbd_init(struct messaging_context *msg_ctx, TALLOC_CTX *mem_ctx, struct messaging_backend **presult); |