[SCM] Samba Shared Repository - branch master updated - 1d427dcee069165462f9c8b75790e00b2d977ddf

Volker Lendecke vlendec at samba.org
Tue Jan 6 20:57:36 GMT 2009


The branch, master has been updated
       via  1d427dcee069165462f9c8b75790e00b2d977ddf (commit)
      from  958186df2a79c42ddb101059d5f1871327ad4088 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 1d427dcee069165462f9c8b75790e00b2d977ddf
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jan 6 21:54:51 2009 +0100

    Add some const to dcerpc_binding_build_tower()

-----------------------------------------------------------------------

Summary of changes:
 librpc/rpc/binding.c        |    4 +++-
 source3/include/proto.h     |    4 +++-
 source4/librpc/rpc/dcerpc.h |    4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/rpc/binding.c b/librpc/rpc/binding.c
index 4f36fac..16abcfe 100644
--- a/librpc/rpc/binding.c
+++ b/librpc/rpc/binding.c
@@ -654,7 +654,9 @@ _PUBLIC_ NTSTATUS dcerpc_binding_from_tower(TALLOC_CTX *mem_ctx,
 	return NT_STATUS_OK;
 }
 
-_PUBLIC_ NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx, struct dcerpc_binding *binding, struct epm_tower *tower)
+_PUBLIC_ NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx,
+					     const struct dcerpc_binding *binding,
+					     struct epm_tower *tower)
 {
 	const enum epm_protocol *protseq = NULL;
 	int num_protocols = -1, i;
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c918515..ec8f413 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2296,7 +2296,9 @@ _PUBLIC_ enum dcerpc_transport_t dcerpc_transport_by_tower(struct epm_tower *tow
 _PUBLIC_ NTSTATUS dcerpc_binding_from_tower(TALLOC_CTX *mem_ctx, 
 				   struct epm_tower *tower, 
 				   struct dcerpc_binding **b_out);
-_PUBLIC_ NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx, struct dcerpc_binding *binding, struct epm_tower *tower);
+_PUBLIC_ NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx,
+					     const struct dcerpc_binding *binding,
+					     struct epm_tower *tower);
 
 /* The following definitions come from librpc/rpc/dcerpc.c  */
 
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index d809491..248b4f9 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -353,7 +353,9 @@ void dcerpc_log_packet(const char *lockdir,
 					   const struct ndr_interface_table *ndr,
 					   uint32_t opnum, uint32_t flags, 
 					   DATA_BLOB *pkt);
-NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx, struct dcerpc_binding *binding, struct epm_tower *tower);
+NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx,
+				    const struct dcerpc_binding *binding,
+				    struct epm_tower *tower);
 
 NTSTATUS dcerpc_floor_get_lhs_data(const struct epm_floor *epm_floor, struct ndr_syntax_id *syntax);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list