diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-01-06 17:16:58 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-08 13:03:01 +1100 |
commit | cc7967b1c0555ba7641fb0248077295521f74943 (patch) | |
tree | 481229e171eccde475b927cbbca8c7634d2a67f0 /source4/dsdb/repl/drepl_service.h | |
parent | 7a40cacbde0dc707ac2d354bfb335312f420da4b (diff) | |
download | samba-cc7967b1c0555ba7641fb0248077295521f74943.tar.gz samba-cc7967b1c0555ba7641fb0248077295521f74943.tar.bz2 samba-cc7967b1c0555ba7641fb0248077295521f74943.zip |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_service.h b/source4/dsdb/repl/drepl_service.h index eb3cd045f9..b9e8640ae9 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; }; |