getncchanges.c: Split sorting linked attributes into separate function
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 6 Jun 2017 03:03:33 +0000 (15:03 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 15 Sep 2017 04:18:12 +0000 (06:18 +0200)
commit46b3aab51491e19da22c2bac035cf04db9be20e8
tree0b08b06da2764332c7fa618aaade3605e0e09826
parent240e4336117bf22c3d64371fecb608118691a315
getncchanges.c: Split sorting linked attributes into separate function

Longer-term we want to split up the links so that they're sent over
multiple GetNCChanges response messages. So it makes sense to split this
code out into its own function. In the short-term, this removes some of
the complexity from dcesrv_drsuapi_DsGetNCChanges() so that the function
is not quite so big.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/rpc_server/drsuapi/getncchanges.c