summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_service.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-06 17:16:58 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-08 13:03:01 +1100
commitcc7967b1c0555ba7641fb0248077295521f74943 (patch)
tree481229e171eccde475b927cbbca8c7634d2a67f0 /source4/dsdb/repl/drepl_service.h
parent7a40cacbde0dc707ac2d354bfb335312f420da4b (diff)
downloadsamba-cc7967b1c0555ba7641fb0248077295521f74943.tar.gz
s4-repl: allow for callbacks when a repl operation completes
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl/drepl_service.h')
-rw-r--r--source4/dsdb/repl/drepl_service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_service.h b/source4/dsdb/repl/drepl_service.h
index eb3cd045f9a..b9e8640ae9f 100644
--- a/source4/dsdb/repl/drepl_service.h
+++ b/source4/dsdb/repl/drepl_service.h
@@ -100,6 +100,8 @@ struct dreplsrv_partition {
struct dreplsrv_partition_source_dsa *sources;
};
+typedef void (*dreplsrv_fsmo_callback_t)(struct dreplsrv_service *, WERROR );
+
struct dreplsrv_out_operation {
struct dreplsrv_out_operation *prev, *next;
@@ -110,6 +112,8 @@ struct dreplsrv_out_operation {
struct composite_context *creq;
enum drsuapi_DsExtendedOperation extended_op;
+ uint64_t fsmo_info;
+ dreplsrv_fsmo_callback_t callback;
};
struct dreplsrv_notify_operation {
@@ -208,6 +212,7 @@ struct dreplsrv_service {
} ops;
struct {
+ bool in_progress;
struct dreplsrv_partition_source_dsa *rid_manager_source_dsa;
} ridalloc;
};