summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-01 22:37:38 +0200
committerGünther Deschner <gd@samba.org>2010-07-13 14:44:09 +0200
commitea66d8e4a5cf44924cc59063a023b7fc158629f9 (patch)
tree0173b69742fbb52f0eb44fc075d3ce65feebdc12
parent716f9d6847a867744f7456eacf45abacb6eb1963 (diff)
downloadsamba-ea66d8e4a5cf44924cc59063a023b7fc158629f9.tar.gz
samba-ea66d8e4a5cf44924cc59063a023b7fc158629f9.tar.bz2
samba-ea66d8e4a5cf44924cc59063a023b7fc158629f9.zip
s3-dcerpc: link against ../librpc/rpc/dcerpc_util.c
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source3/Makefile.in1
-rw-r--r--source3/include/proto.h6
2 files changed, 7 insertions, 0 deletions
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);