mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
588a458d78
lber: ifdef'ed out lber_..set_nonblock() function because it used ioctl's. If it remains, it needs to be written to support various methods for setting non-blocking. ioctls should probably be last choice. configure could detect existance of fcntl(), ioctl(), etc. bdb2: added .dsp/.dsw files and did some basic cleanup (still needs work).
47 lines
676 B
C
47 lines
676 B
C
/* abandon.c - ldbm backend abandon routine */
|
|
|
|
#include "portable.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <ac/string.h>
|
|
#include <ac/time.h>
|
|
#include <ac/unistd.h>
|
|
|
|
#include "slap.h"
|
|
#include "back-bdb2.h"
|
|
|
|
|
|
/*ARGSUSED*/
|
|
static int
|
|
bdb2i_back_abandon_internal(
|
|
BackendDB *be,
|
|
Connection *c,
|
|
Operation *o,
|
|
int msgid )
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
int
|
|
bdb2_back_abandon(
|
|
BackendDB *be,
|
|
Connection *conn,
|
|
Operation *op,
|
|
int msgid )
|
|
{
|
|
struct timeval time1;
|
|
int ret;
|
|
|
|
bdb2i_start_timing( be->bd_info, &time1 );
|
|
|
|
ret = bdb2i_back_abandon_internal( be, conn, op, msgid );
|
|
|
|
bdb2i_stop_timing( be->bd_info, time1, "ABND", conn, op );
|
|
|
|
return( ret );
|
|
}
|
|
|
|
|