]> git.sur5r.net Git - openldap/commitdiff
wrap sql *.c files with #ifdef SLAPD_SQL to facilate NT builds
authorKurt Zeilenga <kurt@openldap.org>
Sun, 19 Mar 2000 06:18:27 +0000 (06:18 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 19 Mar 2000 06:18:27 +0000 (06:18 +0000)
without -DSLAPD_SQL

servers/slapd/back-sql/bind.c
servers/slapd/back-sql/config.c
servers/slapd/back-sql/entry-id.c
servers/slapd/back-sql/init.c
servers/slapd/back-sql/modify.c
servers/slapd/back-sql/other.c
servers/slapd/back-sql/schema-map.c
servers/slapd/back-sql/search.c
servers/slapd/back-sql/sql-wrap.c
servers/slapd/back-sql/util.c

index 1919dea11ead3ceac58635cb4932b2fd59007ff4..f7c091592d6d68e3c49f56df22548efeb2d28308 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include "slap.h"
@@ -33,3 +35,5 @@ int backsql_unbind(Backend *be,Connection *conn,Operation *op)
  Debug(LDAP_DEBUG_TRACE,"<==backsql_unbind()\n",0,0,0);
  return 0;
 }
+
+#endif /* SLAPD_SQL */
\ No newline at end of file
index 626021567c27a086560b5f481f9826cbb7aaefaa..db24349c1f66d52488200dbb4ce347e4e1c8db13 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
@@ -166,3 +168,4 @@ int backsql_db_config(BackendDB *be,const char *fname,int lineno,int argc,char *
                      fname,lineno,argv[0]);
  return 0;
 }
+#endif /* SLAPD_SQL */
\ No newline at end of file
index ae9e17eb26262e2828d436fead4135a62bc08250..92cceedd5e68b3e2501741263a7b8e2ab8d5bdd3 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <string.h>
@@ -176,3 +178,5 @@ Entry* backsql_id2entry(backsql_srch_info *bsi,Entry* e,backsql_entryID* eid)
  Debug(LDAP_DEBUG_TRACE,"<==backsql_id2entry()\n",0,0,0);
  return e;
 }
+
+#endif /* SLAPD_SQL */
\ No newline at end of file
index d14af1190a50cb5d50495824954829575cbb7563..6e8a9db9affae490cf8c7dbaeda35731f5fb37e3 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include "slap.h"
@@ -188,4 +190,6 @@ int backsql_db_close(BackendDB *bd)
  Debug(LDAP_DEBUG_TRACE,"==>backsql_db_close()\n",0,0,0);
  Debug(LDAP_DEBUG_TRACE,"<==backsql_db_close()\n",0,0,0);
  return 0;
-}
\ No newline at end of file
+}
+
+#endif /* SLAPD_SQL */
\ No newline at end of file
index e05a9bdc8169286ec7a28fc1b931eeabd893693c..c4a8eb3dc1efc58b0e44cd6a5f7d33bc74e78428 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <string.h>
@@ -407,3 +409,5 @@ int backsql_delete(BackendDB *be,Connection *conn,Operation *op,
  Debug(LDAP_DEBUG_TRACE,"<==backsql_delete()\n",0,0,0);
  return 0;
 }
+
+#endif /* SLAPD_SQL */
\ No newline at end of file
index a736b1d63da43c7e70c831e59ce28ac573b47a63..6cd1943375968d62e5bb97ffc49209f9ee48c1dd 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include "slap.h"
@@ -34,3 +36,5 @@ int backsql_abandon( BackendDB *be,
  Debug(LDAP_DEBUG_TRACE,"<==backsql_abandon()\n",0,0,0);
  return 0;
 }
+
+#endif /* SLAPD_SQL */
\ No newline at end of file
index 78e4a74ace9ebaabeb1871ab1af09f64e3e94ac0..cc37a4a0059cc44b9a7048db2dcfa65214f78750 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <string.h>
@@ -233,3 +235,5 @@ int backsql_destroy_schema_map(backsql_info *si)
  Debug(LDAP_DEBUG_TRACE,"<==destroy_schema_map()\n",0,0,0);
  return 0;
 }
+
+#endif /* SLAPD_SQL */
\ No newline at end of file
index fc4fa475aa591cc47b5330015d874d1a945cb715..7e983dec6162d3ac26141711c0f03f9540b403a9 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <string.h>
@@ -504,3 +506,5 @@ int backsql_search(Backend *be,Connection *conn,Operation *op,
  Debug(LDAP_DEBUG_TRACE,"<==backsql_search()\n",0,0,0);
  return 0;
 }
+
+#endif /* SLAPD_SQL */
\ No newline at end of file
index 8ac653e8c375a02b5b636ff7eddbc264f83c10c5..770ab597fe665e9240f74be61cea0dff42633fdc 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
@@ -311,3 +313,4 @@ SQLHDBC backsql_get_db_conn(Backend *be,Connection *ldapc)
  return dbc->dbh;
 }
 
+#endif /* SLAPD_SQL */
\ No newline at end of file
index 3808de31af939ac72728d0b007962a56c0a893d7..4ed26c6cf1ba242cccd1838fdd7fa05a09c5d44d 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "portable.h"
 
+#ifdef SLAPD_SQL
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <string.h>
@@ -161,3 +163,5 @@ int backsql_merge_from_clause(char **dest_from,int *dest_len,char *src_from)
  free(srcc);
  return 1;
 }
+
+#endif /* SLAPD_SQL */
\ No newline at end of file