#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( unsigned long nids )
+bdb2i_idl_alloc( unsigned int nids )
{
ID_BLOCK *new;
* 3 id not inserted, block must be split
*/
int
-bdb2i_idl_insert( ID_BLOCK **idl, ID id, unsigned long maxids )
+bdb2i_idl_insert( ID_BLOCK **idl, ID id, unsigned int maxids )
{
- unsigned long i, j;
+ unsigned int i, j;
if ( ID_BLOCK_ALLIDS( *idl ) ) {
return( 2 ); /* already there */