X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fslapi%2Fslapi_overlay.c;h=79796ffff296644108dfb3bc9912bd2531137492;hb=55339651d6d6e21dc85dca7949cb094e57a1f6b2;hp=4e9f9941f28fbe794a48de6532cc5b03ad7aa8d8;hpb=f4844889fd954b2d836f9d9f182139eeb297265f;p=openldap diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 4e9f9941f2..79796ffff2 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2001-2007 The OpenLDAP Foundation. + * Copyright 2001-2012 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -27,6 +27,7 @@ #include "slap.h" #include "slapi.h" +#include "config.h" #ifdef LDAP_SLAPI @@ -848,7 +849,9 @@ done: } static int -slapi_over_db_open( BackendDB *be ) +slapi_over_db_open( + BackendDB *be, + ConfigReply *cr ) { Slapi_PBlock *pb; int rc; @@ -863,7 +866,9 @@ slapi_over_db_open( BackendDB *be ) } static int -slapi_over_db_close( BackendDB *be ) +slapi_over_db_close( + BackendDB *be, + ConfigReply *cr ) { Slapi_PBlock *pb; int rc; @@ -911,7 +916,7 @@ int slapi_over_is_inst( BackendDB *be ) return overlay_is_inst( be, SLAPI_OVERLAY_NAME ); } -int slapi_over_config( BackendDB *be ) +int slapi_over_config( BackendDB *be, ConfigReply *cr ) { if ( slapi_over_initialized == 0 ) { int rc; @@ -935,7 +940,7 @@ int slapi_over_config( BackendDB *be ) slapi_over_initialized = 1; } - return overlay_config( be, SLAPI_OVERLAY_NAME, -1, NULL ); + return overlay_config( be, SLAPI_OVERLAY_NAME, -1, NULL, cr ); } #endif /* LDAP_SLAPI */