From: Günther Deschner Date: Tue, 4 Nov 2008 15:25:40 +0000 (+0100) Subject: s3-net-vampire: add support for partial replication (individual deltas). X-Git-Tag: samba-4.0.0alpha6~480^2~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ac4b434302ad5e9c105a709fe02431f17a0fecc;p=thirdparty%2Fsamba.git s3-net-vampire: add support for partial replication (individual deltas). Guenther --- diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index 73e6dd03cba..9fab9491304 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -26,6 +26,81 @@ #include "includes.h" #include "utils/net.h" +static void parse_samsync_partial_replication_objects(TALLOC_CTX *mem_ctx, + int argc, + const char **argv, + bool *do_single_object_replication, + struct samsync_object **objects, + uint32_t *num_objects) +{ + int i; + + if (argc > 0) { + *do_single_object_replication = true; + } + + for (i=0; i