summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-13 15:58:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-13 15:58:45 +0200
commit2fddd2e2d5fb32ff15a170acc443218481986b91 (patch)
treeffc988ebf2fc876afc754830f1a8595d4b1f3d66 /source3/librpc
parent6d02f0805a001ae4ac19219c7fff5247e470b0fd (diff)
downloadsamba-2fddd2e2d5fb32ff15a170acc443218481986b91.tar.gz
samba-2fddd2e2d5fb32ff15a170acc443218481986b91.tar.bz2
samba-2fddd2e2d5fb32ff15a170acc443218481986b91.zip
Share ndrdump implementation.
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/ndr/libndr.h5
-rw-r--r--source3/librpc/ndr/util.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/source3/librpc/ndr/libndr.h b/source3/librpc/ndr/libndr.h
index a860f35998..e25a7b8abd 100644
--- a/source3/librpc/ndr/libndr.h
+++ b/source3/librpc/ndr/libndr.h
@@ -26,6 +26,11 @@
#include "librpc/gen_ndr/misc.h"
#include "librpc/gen_ndr/security.h"
+/* Samba 3 doesn't use iconv_convenience: */
+extern void *global_loadparm;
+extern void *cmdline_lp_ctx;
+struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx);
+
/*
this provides definitions for the libcli/rpc/ MSRPC library
*/
diff --git a/source3/librpc/ndr/util.c b/source3/librpc/ndr/util.c
index b85739df69..427292ac70 100644
--- a/source3/librpc/ndr/util.c
+++ b/source3/librpc/ndr/util.c
@@ -180,3 +180,9 @@ _PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name
ndr->print(ndr, "%-25s: %s", name, print_sockaddr(addr, sizeof(addr), ss));
}
+void *global_loadparm;
+void *cmdline_lp_ctx;
+struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx)
+{
+ return NULL;
+}