summaryrefslogtreecommitdiffstats
path: root/ldap/servers/plugins/replication/repl_delete.c
blob: 6f8e07df985671b32863a39ef3cb936b2ef735d7 (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
/** BEGIN COPYRIGHT BLOCK
 * Copyright 2001 Sun Microsystems, Inc.
 * Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
 * All rights reserved.
 * END COPYRIGHT BLOCK **/
 
#include "slapi-plugin.h"
#include "repl.h"

int
legacy_preop_delete( Slapi_PBlock *pb )
{
	return legacy_preop(pb, "legacy_preop_delete", OP_DELETE);
}

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

int
legacy_postop_delete( Slapi_PBlock *pb )
{
	return legacy_postop(pb, "legacy_preop_delete", OP_DELETE);
}