Fix contrib prototypes - add ConfigReply*

This commit is contained in:
Hallvard Furuseth 2016-06-12 10:19:03 +02:00
parent 3e2f62ed0b
commit 2996fda0ee
3 changed files with 9 additions and 19 deletions

View file

@ -109,7 +109,7 @@ denyop_func( Operation *op, SlapReply *rs )
static int
denyop_over_init(
BackendDB *be
BackendDB *be, ConfigReply *cr
)
{
slap_overinst *on = (slap_overinst *) be->bd_info;
@ -204,7 +204,7 @@ denyop_config(
static int
denyop_destroy(
BackendDB *be
BackendDB *be, ConfigReply *cr
)
{
slap_overinst *on = (slap_overinst *) be->bd_info;

View file

@ -736,9 +736,7 @@ lastmod_response( Operation *op, SlapReply *rs )
}
static int
lastmod_db_init(
BackendDB *be
)
lastmod_db_init( BackendDB *be, ConfigReply *cr )
{
slap_overinst *on = (slap_overinst *)be->bd_info;
lastmod_info_t *lmi;
@ -827,9 +825,7 @@ lastmod_db_config(
}
static int
lastmod_db_open(
BackendDB *be
)
lastmod_db_open( BackendDB *be, ConfigReply *cr )
{
slap_overinst *on = (slap_overinst *) be->bd_info;
lastmod_info_t *lmi = (lastmod_info_t *)on->on_bi.bi_private;
@ -904,9 +900,7 @@ lastmod_db_open(
}
static int
lastmod_db_destroy(
BackendDB *be
)
lastmod_db_destroy( BackendDB *be, ConfigReply *cr )
{
slap_overinst *on = (slap_overinst *)be->bd_info;
lastmod_info_t *lmi = (lastmod_info_t *)on->on_bi.bi_private;

View file

@ -165,8 +165,7 @@ done:;
}
static int
trace_db_init(
BackendDB *be )
trace_db_init( BackendDB *be, ConfigReply *cr )
{
Log0( LDAP_DEBUG_ANY, LDAP_LEVEL_INFO,
"trace DB_INIT\n" );
@ -190,8 +189,7 @@ trace_db_config(
}
static int
trace_db_open(
BackendDB *be )
trace_db_open( BackendDB *be, ConfigReply *cr )
{
Log0( LDAP_DEBUG_ANY, LDAP_LEVEL_INFO,
"trace DB_OPEN\n" );
@ -200,8 +198,7 @@ trace_db_open(
}
static int
trace_db_close(
BackendDB *be )
trace_db_close( BackendDB *be, ConfigReply *cr )
{
Log0( LDAP_DEBUG_ANY, LDAP_LEVEL_INFO,
"trace DB_CLOSE\n" );
@ -210,8 +207,7 @@ trace_db_close(
}
static int
trace_db_destroy(
BackendDB *be )
trace_db_destroy( BackendDB *be, ConfigReply *cr )
{
Log0( LDAP_DEBUG_ANY, LDAP_LEVEL_INFO,
"trace DB_DESTROY\n" );