summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc
diff options
context:
space:
mode:
authorDave Craft <wimberosa@gmail.com>2011-07-05 21:31:45 -0500
committerAndrew Tridgell <tridge@samba.org>2011-07-14 07:05:10 +1000
commit4b19415f5b5f5e6df5ca03ffa5fb0f8b212726ec (patch)
tree3cd2db728d4d3be02fd4405fe1b1d42874e76bfe /source4/dsdb/kcc
parentf6c90dfebada626b92658cf54da4ce1d9a5277f4 (diff)
downloadsamba-4b19415f5b5f5e6df5ca03ffa5fb0f8b212726ec.tar.gz
samba-4b19415f5b5f5e6df5ca03ffa5fb0f8b212726ec.tar.bz2
samba-4b19415f5b5f5e6df5ca03ffa5fb0f8b212726ec.zip
Remove static to allow availability to other KCC files
kccsrv_replica_flags() and kccsrv_add_repsFrom() need to be available to functions outside kcc_periodic.c Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/dsdb/kcc')
-rw-r--r--source4/dsdb/kcc/kcc_periodic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/kcc/kcc_periodic.c b/source4/dsdb/kcc/kcc_periodic.c
index 7f4f5576d3..ad61e71025 100644
--- a/source4/dsdb/kcc/kcc_periodic.c
+++ b/source4/dsdb/kcc/kcc_periodic.c
@@ -164,7 +164,7 @@ static void kccsrv_notify_drepl_server_done(struct tevent_req *subreq)
TALLOC_FREE(state);
}
-static uint32_t kccsrv_replica_flags(struct kccsrv_service *s)
+uint32_t kccsrv_replica_flags(struct kccsrv_service *s)
{
if (s->am_rodc) {
return DRSUAPI_DRS_INIT_SYNC |
@@ -183,9 +183,9 @@ static uint32_t kccsrv_replica_flags(struct kccsrv_service *s)
/*
* add any missing repsFrom structures to our partitions
*/
-static NTSTATUS kccsrv_add_repsFrom(struct kccsrv_service *s, TALLOC_CTX *mem_ctx,
- struct repsFromToBlob *reps, uint32_t count,
- struct ldb_result *res)
+NTSTATUS kccsrv_add_repsFrom(struct kccsrv_service *s, TALLOC_CTX *mem_ctx,
+ struct repsFromToBlob *reps, uint32_t count,
+ struct ldb_result *res)
{
struct kccsrv_partition *p;
bool notify_dreplsrv = false;