diff options
Diffstat (limited to 'source3/include/messages.h')
-rw-r--r-- | source3/include/messages.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h index b718dd77b20..32c4097a6bf 100644 --- a/source3/include/messages.h +++ b/source3/include/messages.h @@ -75,7 +75,14 @@ struct messaging_backend { int messaging_dgm_init(struct messaging_context *msg_ctx, TALLOC_CTX *mem_ctx, - struct messaging_backend **presult); + struct messaging_backend **presult, + 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); int messaging_dgm_cleanup(struct messaging_context *msg_ctx, pid_t pid); int messaging_dgm_wipe(struct messaging_context *msg_ctx); void *messaging_dgm_register_tevent_context(TALLOC_CTX *mem_ctx, |