summaryrefslogtreecommitdiff
path: root/source4/lib/messaging/messaging.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-13 20:01:56 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-13 14:06:07 +0200
commit3cdb1fe4404e26ae383cfb73bfa8af36cb1d7f7c (patch)
treeed1f1f37b4ecbb887fa391da340de0c044e9dec7 /source4/lib/messaging/messaging.h
parent5603dab6478fbb40206a8664a308b5db5b1863e8 (diff)
downloadsamba-3cdb1fe4404e26ae383cfb73bfa8af36cb1d7f7c.tar.gz
samba-3cdb1fe4404e26ae383cfb73bfa8af36cb1d7f7c.tar.bz2
samba-3cdb1fe4404e26ae383cfb73bfa8af36cb1d7f7c.zip
s4-messaging: Pass the loadparm context, not just the messaging path
This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
Diffstat (limited to 'source4/lib/messaging/messaging.h')
-rw-r--r--source4/lib/messaging/messaging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/messaging/messaging.h b/source4/lib/messaging/messaging.h
index e51590fe74..984cd36e89 100644
--- a/source4/lib/messaging/messaging.h
+++ b/source4/lib/messaging/messaging.h
@@ -54,13 +54,13 @@ NTSTATUS imessaging_register(struct imessaging_context *msg, void *private_data,
NTSTATUS imessaging_register_tmp(struct imessaging_context *msg, void *private_data,
msg_callback_t fn, uint32_t *msg_type);
struct imessaging_context *imessaging_init(TALLOC_CTX *mem_ctx,
- const char *dir,
+ struct loadparm_context *lp_ctx,
struct server_id server_id,
struct tevent_context *ev,
bool auto_remove);
int imessaging_cleanup(struct imessaging_context *msg);
struct imessaging_context *imessaging_client_init(TALLOC_CTX *mem_ctx,
- const char *dir,
+ struct loadparm_context *lp_ctx,
struct tevent_context *ev);
NTSTATUS imessaging_send_ptr(struct imessaging_context *msg, struct server_id server,
uint32_t msg_type, void *ptr);