]> git.sur5r.net Git - openldap/blob - servers/slapd/back-bdb2/unbind.c
Move the input data exhaustion loop to connection.c from daemon.c
[openldap] / servers / slapd / back-bdb2 / unbind.c
1 /* unbind.c - handle an ldap unbind operation */
2
3 #include "portable.h"
4
5 #include <stdio.h>
6 #include <ac/socket.h>
7
8 #include "slap.h"
9 #include "back-bdb2.h"
10
11 static int
12 bdb2i_back_unbind_internal(
13         BackendDB     *be,
14         Connection  *conn,
15         Operation   *op
16 )
17 {
18         return( 0 );
19 }
20
21
22 int
23 bdb2_back_unbind(
24         BackendDB     *be,
25         Connection  *conn,
26         Operation   *op
27 )
28 {
29         struct timeval  time1;
30         int             ret;
31
32         bdb2i_start_timing( be->bd_info, &time1 );
33
34         ret = bdb2i_back_unbind_internal( be, conn, op );
35         bdb2i_stop_timing( be->bd_info, time1, "UNBIND", conn, op );
36
37         return( ret );
38 }