librpc: add header file for drsblobs helper functions.
authorGünther Deschner <gd@samba.org>
Wed, 4 Feb 2009 11:02:56 +0000 (12:02 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 4 Feb 2009 11:38:21 +0000 (12:38 +0100)
Guenther

librpc/gen_ndr/ndr_drsblobs.h
librpc/idl/drsblobs.idl
librpc/ndr/ndr_drsblobs.h [new file with mode: 0644]

index 2f6cf991d65e8af714726f7504858f73a1cad11c..27c13c83974d175897ccbf9ebf307889b3dcf88f 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef _HEADER_NDR_drsblobs
 #define _HEADER_NDR_drsblobs
 
+#include "../librpc/ndr/ndr_drsblobs.h"
 #define NDR_DRSBLOBS_UUID "12345778-1234-abcd-0001-00000001"
 #define NDR_DRSBLOBS_VERSION 0.0
 #define NDR_DRSBLOBS_NAME "drsblobs"
index 7e9c2fe9bb337fb552f94727669d2123aea74f9f..fb37500fea2cc62810c2aacdcdb77fd623fa71a3 100644 (file)
@@ -6,6 +6,7 @@ import "drsuapi.idl", "misc.idl", "samr.idl", "lsa.idl";
   uuid("12345778-1234-abcd-0001-00000001"),
   version(0.0),
   pointer_default(unique),
+  helper("../librpc/ndr/ndr_drsblobs.h"),
   helpstring("Active Directory Replication LDAP Blobs")
 ]
 interface drsblobs {
diff --git a/librpc/ndr/ndr_drsblobs.h b/librpc/ndr/ndr_drsblobs.h
new file mode 100644 (file)
index 0000000..2753225
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+   Unix SMB/CIFS implementation.
+
+   Manually parsed structures found in the DRS protocol
+
+   Copyright (C) Andrew Bartlett <abartlet@samba.org> 2008
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+_PUBLIC_ void ndr_print_AuthenticationInformationArray_with_count(struct ndr_print *ndr, const char *name, int count, const struct AuthenticationInformationArray *r);
+_PUBLIC_ enum ndr_err_code ndr_push_trustAuthInOutBlob(struct ndr_push *ndr, int ndr_flags, const struct trustAuthInOutBlob *r);
+_PUBLIC_ enum ndr_err_code ndr_pull_trustAuthInOutBlob(struct ndr_pull *ndr, int ndr_flags, struct trustAuthInOutBlob *r);
+_PUBLIC_ void ndr_print_trustAuthInOutBlob(struct ndr_print *ndr, const char *name, const struct trustAuthInOutBlob *r);
+_PUBLIC_ enum ndr_err_code ndr_pull_trustDomainPasswords(struct ndr_pull *ndr, int ndr_flags, struct trustDomainPasswords *r);
+