From: Volker Lendecke Date: Sun, 5 Jul 2009 08:21:06 +0000 (+0200) Subject: Introduce null_ndr_syntax_id X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=f8cfe19d85534d30f97a4992179633ca68bc838b;p=metze%2Fsamba%2Fwip.git Introduce null_ndr_syntax_id --- diff --git a/source3/include/proto.h b/source3/include/proto.h index de65409275e8..73ecbfa2bd8a 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 8fac5eadd4cd..0510caaf3621 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 };