]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/proto-back-ldbm.h
ITS#4310 seems to affect also back-ldbm
[openldap] / servers / slapd / back-ldbm / proto-back-ldbm.h
index e19854318f98eddd256c5713bb70c6ffffdd5566..8af8808846e7898f6f3487c1f7c995b9c8c640cc 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2003 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -18,8 +18,6 @@
 
 #include <ldap_cdefs.h>
 
-#include "external.h"
-
 LDAP_BEGIN_DECL
 
 /*
@@ -84,7 +82,7 @@ Datum ldbm_cache_fetch LDAP_P(( DBCache *db, Datum key ));
 #endif /* 1 */
 int ldbm_cache_store LDAP_P(( DBCache *db, Datum key, Datum data, int flags ));
 int ldbm_cache_delete LDAP_P(( DBCache *db, Datum key ));
-void *ldbm_cache_sync_daemon LDAP_P(( void *));
+void *ldbm_cache_sync_daemon LDAP_P(( void *ctx, void *arg ));
 
 /*
  * dn2id.c
@@ -219,5 +217,47 @@ int next_id LDAP_P(( Backend *be, ID *idp ));
 int next_id_get LDAP_P(( Backend *be, ID *idp ));
 int next_id_write LDAP_P(( Backend *be, ID id ));
 
+/*
+ * former external.h
+ */
+
+extern BI_init                 ldbm_back_initialize;
+
+extern BI_open                 ldbm_back_open;
+extern BI_close                        ldbm_back_close;
+extern BI_destroy              ldbm_back_destroy;
+
+extern BI_db_init              ldbm_back_db_init;
+extern BI_db_open              ldbm_back_db_open;
+extern BI_db_close             ldbm_back_db_close;
+extern BI_db_destroy           ldbm_back_db_destroy;
+extern BI_db_config            ldbm_back_db_config;
+
+extern BI_op_extended          ldbm_back_extended;
+extern BI_op_bind              ldbm_back_bind;
+extern BI_op_search            ldbm_back_search;
+extern BI_op_compare           ldbm_back_compare;
+extern BI_op_modify            ldbm_back_modify;
+extern BI_op_modrdn            ldbm_back_modrdn;
+extern BI_op_add               ldbm_back_add;
+extern BI_op_delete            ldbm_back_delete;
+
+extern BI_operational          ldbm_back_operational;
+extern BI_has_subordinates     ldbm_back_hasSubordinates;
+
+/* hooks for slap tools */
+extern BI_tool_entry_open      ldbm_tool_entry_open;
+extern BI_tool_entry_close     ldbm_tool_entry_close;
+extern BI_tool_entry_first     ldbm_tool_entry_first;
+extern BI_tool_entry_next      ldbm_tool_entry_next;
+extern BI_tool_entry_get       ldbm_tool_entry_get;
+extern BI_tool_entry_put       ldbm_tool_entry_put;
+
+extern BI_tool_entry_reindex   ldbm_tool_entry_reindex;
+extern BI_tool_sync            ldbm_tool_sync;
+
+extern BI_chk_referrals                ldbm_back_referrals;
+
 LDAP_END_DECL
-#endif
+
+#endif /* _PROTO_BACK_LDBM */