Introduce null_ndr_syntax_id
authorVolker Lendecke <vl@samba.org>
Sun, 5 Jul 2009 08:21:06 +0000 (10:21 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 5 Jul 2009 21:50:12 +0000 (23:50 +0200)
source3/include/proto.h
source3/librpc/ndr/util.c

index de65409275e8896264ccd8ae94ebfdd87286c43c..73ecbfa2bd8a122e7a32cf77d2e631f84f685c12 100644 (file)
@@ -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  */
 
index 8fac5eadd4cdc8c2c4c3ff7bdf1a337304bc56cd..0510caaf3621c20cd8cd9ebc76c591e12a72eef0 100644 (file)
@@ -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 };