-static int
-unique_open(
- BackendDB *be,
- ConfigReply *cr
-)
-{
- Debug(LDAP_DEBUG_TRACE, "unique_open: overlay initialized\n", 0, 0, 0);
-
- return 0;
-}
-
-
-/*
-** Leave unique_data but wipe out config
-**
-*/
-
-static int
-unique_close(
- BackendDB *be,
- ConfigReply *cr
-)
-{
- slap_overinst *on = (slap_overinst *) be->bd_info;
- unique_data **privatep = (unique_data **) &on->on_bi.bi_private;
- unique_data *private = *privatep;
-
- Debug(LDAP_DEBUG_TRACE, "==> unique_close\n", 0, 0, 0);
-
- if ( private ) {
- unique_domain *domains = private->domains;
- unique_domain *legacy = private->legacy;
-
- unique_free_domain ( domains );
- unique_free_domain ( legacy );
- memset ( private, 0, sizeof ( unique_data ) );
- }
-
- return ( 0 );
-}
-