summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-05 10:21:06 +0200
committerVolker Lendecke <vl@samba.org>2009-07-05 23:50:12 +0200
commitf8cfe19d85534d30f97a4992179633ca68bc838b (patch)
treeece18464ca5647966495f035fd09d4f8a98737ed /source3
parent30dd96e8193254f05c1aa05a70a68b65c4d036b6 (diff)
downloadsamba-f8cfe19d85534d30f97a4992179633ca68bc838b.tar.gz
samba-f8cfe19d85534d30f97a4992179633ca68bc838b.tar.bz2
samba-f8cfe19d85534d30f97a4992179633ca68bc838b.zip
Introduce null_ndr_syntax_id
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/librpc/ndr/util.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index de65409275..73ecbfa2bd 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2126,6 +2126,7 @@ void ndr_print_file_id(struct ndr_print *ndr, const char *name, const struct fil
_PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b);
_PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss);
const char *ndr_errstr(enum ndr_err_code err);
+extern const struct ndr_syntax_id null_ndr_syntax_id;
/* The following definitions come from librpc/ndr/sid.c */
diff --git a/source3/librpc/ndr/util.c b/source3/librpc/ndr/util.c
index 8fac5eadd4..0510caaf36 100644
--- a/source3/librpc/ndr/util.c
+++ b/source3/librpc/ndr/util.c
@@ -210,3 +210,6 @@ struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx)
{
return NULL;
}
+
+const struct ndr_syntax_id null_ndr_syntax_id =
+{ { 0, 0, 0, { 0, 0 }, { 0, 0, 0, 0, 0, 0 } }, 0 };