int
bdb_dn2entry(
- Backend *be,
+ BackendDB *be,
DB_TXN *tid,
- const char *dn,
+ const char *dn,
Entry **e,
- Entry **matched,
+ Entry **matched,
int flags )
{
int rc;
ID id;
char *matchedDN = NULL;
- Debug(LDAP_DEBUG_TRACE, "bdb_dn2entry: dn: \"%s\"\n",
+ Debug(LDAP_DEBUG_TRACE, "bdb_dn2entry(\"%s\")\n",
dn, 0, 0 );
+ *e = NULL;
+
if( matched != NULL ) {
+ *matched = NULL;
rc = bdb_dn2id_matched( be, tid, dn, &id, &matchedDN );
} else {
rc = bdb_dn2id( be, tid, dn, &id );
}
return rc;
-}
\ No newline at end of file
+}