diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-08-30 13:42:20 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-08-30 21:01:19 +0200 |
commit | b4610cdb3b1d8e20bafd6d2d563360a59ef33ba3 (patch) | |
tree | 2f6d4706ed21a5f8af9f59c97da6bada759bd2e0 /source4/lib/messaging | |
parent | 734677292fb6fb4f7cccc7ab1c6fd04ad2203aed (diff) | |
download | samba-b4610cdb3b1d8e20bafd6d2d563360a59ef33ba3.tar.gz samba-b4610cdb3b1d8e20bafd6d2d563360a59ef33ba3.tar.bz2 samba-b4610cdb3b1d8e20bafd6d2d563360a59ef33ba3.zip |
s4:lib/messaging: add some const to messaging_send()
metze
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r-- | source4/lib/messaging/irpc.h | 2 | ||||
-rw-r--r-- | source4/lib/messaging/messaging.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h index e7c0b874c1..6607eb42e2 100644 --- a/source4/lib/messaging/irpc.h +++ b/source4/lib/messaging/irpc.h @@ -88,7 +88,7 @@ typedef void (*msg_callback_t)(struct messaging_context *msg, void *private_data struct server_id server_id, DATA_BLOB *data); NTSTATUS messaging_send(struct messaging_context *msg, struct server_id server, - uint32_t msg_type, DATA_BLOB *data); + uint32_t msg_type, const DATA_BLOB *data); NTSTATUS messaging_register(struct messaging_context *msg, void *private_data, uint32_t msg_type, msg_callback_t fn); diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 19d6971088..290210efaa 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -448,7 +448,7 @@ void messaging_deregister(struct messaging_context *msg, uint32_t msg_type, void Send a message to a particular server */ NTSTATUS messaging_send(struct messaging_context *msg, struct server_id server, - uint32_t msg_type, DATA_BLOB *data) + uint32_t msg_type, const DATA_BLOB *data) { struct messaging_rec *rec; NTSTATUS status; |