From 1a48107cc4667f22b05fdfce952f9dcdcfaa0c7a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 4 Nov 2008 15:49:27 +0100 Subject: s3-libnet-samsync: add support for partial replication. Guenther --- source3/libnet/libnet_samsync.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'source3/libnet/libnet_samsync.h') diff --git a/source3/libnet/libnet_samsync.h b/source3/libnet/libnet_samsync.h index 1f10d2c1c0..4a356e2eed 100644 --- a/source3/libnet/libnet_samsync.h +++ b/source3/libnet/libnet_samsync.h @@ -33,6 +33,16 @@ typedef NTSTATUS (*samsync_delta_fn_t)(TALLOC_CTX *, bool, struct samsync_context *); +struct samsync_object { + uint16_t database_id; + uint16_t object_type; + union { + uint32_t rid; + const char *name; + struct dom_sid sid; + } object_identifier; +}; + struct samsync_context { enum net_samsync_mode mode; const struct dom_sid *domain_sid; @@ -46,6 +56,13 @@ struct samsync_context { char *result_message; char *error_message; + bool single_object_replication; + bool force_full_replication; + bool clean_old_entries; + + uint32_t num_objects; + struct samsync_object *objects; + struct rpc_pipe_client *cli; samsync_delta_fn_t delta_fn; void *private_data; -- cgit