From ea66d8e4a5cf44924cc59063a023b7fc158629f9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 1 Apr 2009 22:37:38 +0200 Subject: s3-dcerpc: link against ../librpc/rpc/dcerpc_util.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Simo Sorce Signed-off-by: Günther Deschner --- source3/Makefile.in | 1 + source3/include/proto.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/source3/Makefile.in b/source3/Makefile.in index e44e121830..b980b7f25c 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -564,6 +564,7 @@ LIBMSRPC_GEN_OBJ = librpc/gen_ndr/cli_lsa.o \ librpc/gen_ndr/cli_epmapper.o \ librpc/gen_ndr/cli_drsuapi.o \ librpc/gen_ndr/cli_spoolss.o \ + ../librpc/rpc/dcerpc_util.o \ $(LIBNDR_GEN_OBJ) \ $(RPCCLIENT_NDR_OBJ) diff --git a/source3/include/proto.h b/source3/include/proto.h index 692b230c09..5ba1bff08b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2931,6 +2931,12 @@ void flush_negative_conn_cache_for_domain(const char *domain); const char *dcerpc_errstr(TALLOC_CTX *mem_ctx, uint32_t fault_code); NTSTATUS dcerpc_fault_to_nt_status(uint32_t fault_code); +/* The following definitions come from ../librpc/rpc/dcerpc_util.c */ + +void dcerpc_set_frag_length(DATA_BLOB *blob, uint16_t v); +uint16_t dcerpc_get_frag_length(const DATA_BLOB *blob); +void dcerpc_set_auth_length(DATA_BLOB *blob, uint16_t v); + /* The following definitions come from libsmb/dsgetdcname.c */ void debug_dsdcinfo_flags(int lvl, uint32_t flags); -- cgit