#include <ac/string.h>
#include <ac/socket.h>
-#include "ldapconfig.h"
+#include "ldap_defaults.h"
#include "slap.h"
#include "back-bdb2.h"
/* Allocate an ID_BLOCK with room for nids ids */
ID_BLOCK *
-bdb2i_idl_alloc( int nids )
+bdb2i_idl_alloc( unsigned int nids )
{
ID_BLOCK *new;
/* delete old key block */
if ( (rc = bdb2i_cache_delete( db, bkey )) != 0 ) {
Debug( LDAP_DEBUG_ANY,
- "ldbm_delete of (%s) returns %d\n", bkey.dptr, rc,
+ "bdb2i_db_delete of (%s) returns %d\n", bkey.dptr, rc,
0 );
return( rc );
}
* 3 id not inserted, block must be split
*/
int
-bdb2i_idl_insert( ID_BLOCK **idl, ID id, int maxids )
+bdb2i_idl_insert( ID_BLOCK **idl, ID id, unsigned int maxids )
{
unsigned int i, j;