summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-12-17 14:08:56 +0100
committerStefan Metzmacher <metze@samba.org>2013-01-01 19:28:07 +0100
commit551bb2ccea6a1d82dbe0d4a21c19a8d8bd13ccbc (patch)
tree9fa782166db2bdbd7e135b172690cfec39dceda5 /source4/rpc_server
parent2e9b06412b09163d4b851135ef509d73bb6d61fc (diff)
downloadsamba-551bb2ccea6a1d82dbe0d4a21c19a8d8bd13ccbc.tar.gz
samba-551bb2ccea6a1d82dbe0d4a21c19a8d8bd13ccbc.tar.bz2
samba-551bb2ccea6a1d82dbe0d4a21c19a8d8bd13ccbc.zip
s4:drsuapi: move struct drsuapi_getncchanges_state to the top of getncchanges.c
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index 09406d6770..00988fc381 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -37,6 +37,23 @@
#include "auth/session.h"
#include "dsdb/common/util.h"
+/* state of a partially completed getncchanges call */
+struct drsuapi_getncchanges_state {
+ struct GUID *guids;
+ uint32_t num_records;
+ uint32_t num_processed;
+ struct ldb_dn *ncRoot_dn;
+ bool is_schema_nc;
+ uint64_t min_usn;
+ uint64_t highest_usn;
+ struct ldb_dn *last_dn;
+ struct drsuapi_DsReplicaLinkedAttribute *la_list;
+ uint32_t la_count;
+ bool la_sorted;
+ uint32_t la_idx;
+ struct drsuapi_DsReplicaCursorCtrEx *uptodateness_vector;
+};
+
/*
build a DsReplicaObjectIdentifier from a ldb msg
*/
@@ -1147,23 +1164,6 @@ static WERROR getncchanges_change_master(struct drsuapi_bind_state *b_state,
return WERR_OK;
}
-/* state of a partially completed getncchanges call */
-struct drsuapi_getncchanges_state {
- struct GUID *guids;
- uint32_t num_records;
- uint32_t num_processed;
- struct ldb_dn *ncRoot_dn;
- bool is_schema_nc;
- uint64_t min_usn;
- uint64_t highest_usn;
- struct ldb_dn *last_dn;
- struct drsuapi_DsReplicaLinkedAttribute *la_list;
- uint32_t la_count;
- bool la_sorted;
- uint32_t la_idx;
- struct drsuapi_DsReplicaCursorCtrEx *uptodateness_vector;
-};
-
/*
see if this getncchanges request includes a request to reveal secret information
*/