From 1585022fdee178c9d33a29fd9a36fd38dc213b75 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Fri, 3 Aug 2007 12:17:47 +0000 Subject: [PATCH] Adopted to latest API changes --- contrib/slapd-modules/allop/allop.c | 3 ++- contrib/slapd-modules/smbk5pwd/smbk5pwd.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/slapd-modules/allop/allop.c b/contrib/slapd-modules/allop/allop.c index 6ddf4a473e..e5cbf416be 100644 --- a/contrib/slapd-modules/allop/allop.c +++ b/contrib/slapd-modules/allop/allop.c @@ -39,6 +39,7 @@ allop-URI #include #include "slap.h" +#include "config.h" #define SLAP_OVER_VERSION_REQUIRE(major,minor,patch) \ ( \ @@ -140,7 +141,7 @@ allop_db_config( } static int -allop_db_destroy( BackendDB *be ) +allop_db_destroy( BackendDB *be, ConfigReply *cr ) { slap_overinst *on = (slap_overinst *)be->bd_info; allop_t *ao = (allop_t *)on->on_bi.bi_private; diff --git a/contrib/slapd-modules/smbk5pwd/smbk5pwd.c b/contrib/slapd-modules/smbk5pwd/smbk5pwd.c index 6b674583eb..dabf6e782a 100644 --- a/contrib/slapd-modules/smbk5pwd/smbk5pwd.c +++ b/contrib/slapd-modules/smbk5pwd/smbk5pwd.c @@ -943,7 +943,7 @@ smbk5pwd_modules_init( smbk5pwd_t *pi ) } static int -smbk5pwd_db_init(BackendDB *be) +smbk5pwd_db_init(BackendDB *be, ConfigReply *cr) { slap_overinst *on = (slap_overinst *)be->bd_info; smbk5pwd_t *pi; @@ -958,7 +958,7 @@ smbk5pwd_db_init(BackendDB *be) } static int -smbk5pwd_db_open(BackendDB *be) +smbk5pwd_db_open(BackendDB *be, ConfigReply *cr) { slap_overinst *on = (slap_overinst *)be->bd_info; smbk5pwd_t *pi = (smbk5pwd_t *)on->on_bi.bi_private; @@ -978,7 +978,7 @@ smbk5pwd_db_open(BackendDB *be) } static int -smbk5pwd_db_destroy(BackendDB *be) +smbk5pwd_db_destroy(BackendDB *be, ConfigReply *cr) { slap_overinst *on = (slap_overinst *)be->bd_info; smbk5pwd_t *pi = (smbk5pwd_t *)on->on_bi.bi_private; -- 2.39.5