Use a static copy of the samsync header file as Samba3 doesn't generate
[sfrench/samba-autobuild/.git] / libcli / samsync / samsync.h
index 19c797816acde1a9b16572eebb7dd896fba0e20d..df76f1b17bc09b72a701c9f3c0d346444e9ce8dc 100644 (file)
@@ -3,7 +3,6 @@
 
    Extract the user/system database from a remote SamSync server
 
-   Copyright (C) Andrew Bartlett <abartlet@samba.org> 2004-2005
    Copyright (C) Guenther Deschner <gd@samba.org> 2008
 
    This program is free software; you can redistribute it and/or modify
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#ifndef __SAMSYNC_SAMSYNC_H__ 
+#define __SAMSYNC_SAMSYNC_H__ 
+
+/**
+ * Fix up the delta, dealing with encryption issues so that the final
+ * callback need only do the printing or application logic
+ */
 NTSTATUS samsync_fix_delta(TALLOC_CTX *mem_ctx,
-                          struct creds_CredentialState *creds,
+                          struct netlogon_creds_CredentialState *creds,
                           enum netr_SamDatabaseID database_id,
                           struct netr_DELTA_ENUM *delta);
+
+#endif /* __SAMSYNC_SAMSYNC_H__ */