From: Howard Chu Date: Tue, 4 Sep 2012 11:44:20 +0000 (-0700) Subject: More for 38a3317096a93eb741423c6ab583c41ff131c669 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=54a111907b48900e1ce5de12a9d87818a334423d;p=openldap More for 38a3317096a93eb741423c6ab583c41ff131c669 update mdb_tool_idl_add prototype --- diff --git a/servers/slapd/back-mdb/proto-mdb.h b/servers/slapd/back-mdb/proto-mdb.h index e989f0f75b..edec052f24 100644 --- a/servers/slapd/back-mdb/proto-mdb.h +++ b/servers/slapd/back-mdb/proto-mdb.h @@ -370,10 +370,7 @@ extern BI_tool_entry_reindex mdb_tool_entry_reindex; extern BI_tool_dn2id_get mdb_tool_dn2id_get; extern BI_tool_entry_modify mdb_tool_entry_modify; -int mdb_tool_idl_add( - MDB_cursor *mc, - struct berval *keys, - ID id ); +extern mdb_idl_keyfunc mdb_tool_idl_add; LDAP_END_DECL diff --git a/servers/slapd/back-mdb/tools.c b/servers/slapd/back-mdb/tools.c index bc2f401a58..90cbd320b1 100644 --- a/servers/slapd/back-mdb/tools.c +++ b/servers/slapd/back-mdb/tools.c @@ -1141,6 +1141,7 @@ mdb_tool_idl_flush( BackendDB *be, MDB_txn *txn ) } int mdb_tool_idl_add( + BackendDB *be, MDB_cursor *mc, struct berval *keys, ID id )