/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2001-2007 The OpenLDAP Foundation.
+ * Copyright 2001-2011 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#include "slap.h"
#include "slapi.h"
+#include "config.h"
#ifdef LDAP_SLAPI
}
static int
-slapi_over_db_open( BackendDB *be )
+slapi_over_db_open(
+ BackendDB *be,
+ ConfigReply *cr )
{
Slapi_PBlock *pb;
int rc;
}
static int
-slapi_over_db_close( BackendDB *be )
+slapi_over_db_close(
+ BackendDB *be,
+ ConfigReply *cr )
{
Slapi_PBlock *pb;
int rc;
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;
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 */