]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-sql/other.c
Updated for schemas.
[openldap] / servers / slapd / back-sql / other.c
index a736b1d63da43c7e70c831e59ce28ac573b47a63..b4a3fa0100c43709aac9fe42300146189be27418 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *      Copyright 1999, Dmitry Kovalev (zmit@mail.ru), All rights reserved.
+ *      Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
  *
  *      Redistribution and use in source and binary forms are permitted only
  *      as authorized by the OpenLDAP Public License.  A copy of this
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include "slap.h"
@@ -21,7 +23,7 @@ int backsql_dummy()
 }
 
 int backsql_compare(BackendDB *be,Connection *conn,Operation *op,
-       char *dn,char *ndn,Ava *ava)
+       const char *dn,const char *ndn,Ava *ava)
 {
  Debug(LDAP_DEBUG_TRACE,"==>backsql_compare()\n",0,0,0);
  return 0;
@@ -34,3 +36,5 @@ int backsql_abandon( BackendDB *be,
  Debug(LDAP_DEBUG_TRACE,"<==backsql_abandon()\n",0,0,0);
  return 0;
 }
+
+#endif /* SLAPD_SQL */