From: Hallvard Furuseth Date: Sun, 12 Jun 2016 08:19:03 +0000 (+0200) Subject: Fix contrib prototypes - add ConfigReply* X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2996fda0eedd15af531d3c665e7d89fc4eeb9653;p=openldap Fix contrib prototypes - add ConfigReply* --- diff --git a/contrib/slapd-modules/denyop/denyop.c b/contrib/slapd-modules/denyop/denyop.c index e1b9da669c..e40ea561fa 100644 --- a/contrib/slapd-modules/denyop/denyop.c +++ b/contrib/slapd-modules/denyop/denyop.c @@ -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; diff --git a/contrib/slapd-modules/lastmod/lastmod.c b/contrib/slapd-modules/lastmod/lastmod.c index cc06b0d412..cc85c686f5 100644 --- a/contrib/slapd-modules/lastmod/lastmod.c +++ b/contrib/slapd-modules/lastmod/lastmod.c @@ -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; diff --git a/contrib/slapd-modules/trace/trace.c b/contrib/slapd-modules/trace/trace.c index 6d4c3eaa64..eb06b2b347 100644 --- a/contrib/slapd-modules/trace/trace.c +++ b/contrib/slapd-modules/trace/trace.c @@ -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" );