]> git.sur5r.net Git - openldap/blob - servers/slapd/back-sql/other.c
62dcbe81509a666c9437b6193058876e23bb3af9
[openldap] / servers / slapd / back-sql / other.c
1 /*
2  *       Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
3  *
4  *       Redistribution and use in source and binary forms are permitted only
5  *       as authorized by the OpenLDAP Public License.  A copy of this
6  *       license is available at http://www.OpenLDAP.org/license.html or
7  *       in file LICENSE in the top-level directory of the distribution.
8  */
9
10 #include "portable.h"
11
12 #ifdef SLAPD_SQL
13
14 #include <stdio.h>
15 #include <sys/types.h>
16 #include "slap.h"
17 #include "back-sql.h"
18 #include "sql-wrap.h"
19
20 int
21 backsql_dummy( void )
22 {
23         return 0;
24 }
25
26 int
27 backsql_compare(
28         BackendDB       *bd,
29         Connection      *conn,
30         Operation       *op,
31         struct berval   *dn,
32         struct berval   *ndn,
33         AttributeAssertion *ava )
34 {
35         Debug( LDAP_DEBUG_TRACE, "==>backsql_compare() - not implemented\n",
36                         0, 0, 0 );
37         return 1;
38 }
39
40 int
41 backsql_abandon(
42         BackendDB       *be,
43         Connection      *conn, 
44         Operation       *op, 
45         int             msgid )
46 {
47         Debug( LDAP_DEBUG_TRACE, "==>backsql_abandon()\n", 0, 0, 0 );
48         Debug( LDAP_DEBUG_TRACE, "<==backsql_abandon()\n", 0, 0, 0 );
49         return 0;
50 }
51
52 #endif /* SLAPD_SQL */
53