summaryrefslogtreecommitdiffstats
path: root/ldap/servers/plugins/replication/repl_modrdn.c
blob: 65927e1a8093da9047e80cb7926dd4a65a622ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/** BEGIN COPYRIGHT BLOCK
 * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
 * Copyright (C) 2005 Red Hat, Inc.
 * All rights reserved.
 * END COPYRIGHT BLOCK **/
 
#include "slapi-plugin.h"
#include "repl.h"

/* The modrdn plugin points for the legacy replication plugin */

int
legacy_preop_modrdn( Slapi_PBlock *pb )
{
	return legacy_preop(pb, "legacy_preop_modrdn", OP_MODDN);
}

int
legacy_bepreop_modrdn( Slapi_PBlock *pb )
{
    return 0; /* OK */
}

int
legacy_postop_modrdn( Slapi_PBlock *pb )
{
	return legacy_postop(pb, "legacy_postop_modrdn", OP_MODDN);
}