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