diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/librpc/ndr/util.c | 3 |
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 }; |