messaging3: Introduce messaging_local_backend()
[samba.git] / source3 / lib / messages.c
index 9e77009d02513bc45aecb10d8874605eac880705..db7257dba54fd7ff8803046343ddaaa023725215 100644 (file)
@@ -862,4 +862,10 @@ static void mess_parent_dgm_cleanup_done(struct tevent_req *req)
        tevent_req_set_callback(req, mess_parent_dgm_cleanup_done, msg);
 }
 
+struct messaging_backend *messaging_local_backend(
+       struct messaging_context *msg_ctx)
+{
+       return msg_ctx->local;
+}
+
 /** @} **/