diff options
Diffstat (limited to 'src/back-sch.c')
-rw-r--r-- | src/back-sch.c | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/back-sch.c b/src/back-sch.c index 142bdb9..0dc11c5 100644 --- a/src/back-sch.c +++ b/src/back-sch.c @@ -50,23 +50,10 @@ #include "format.h" #include "plugin.h" #include "map.h" +#include "back-sch.h" #define SCH_CONTAINER_CONFIGURATION_FILTER "(&(" SCH_CONTAINER_CONFIGURATION_GROUP_ATTR "=*)(" SCH_CONTAINER_CONFIGURATION_BASE_ATTR "=*)(" SCH_CONTAINER_CONFIGURATION_FILTER_ATTR "=*)(" SCH_CONTAINER_CONFIGURATION_RDN_ATTR "=*))" -/* The data we ask the map cache to keep, for us, for each set. */ -struct backend_set_data { - struct backend_shr_set_data common; - /* Schema compatibility-specific data. */ - Slapi_DN *container_sdn; - char *rdn_format; - char **attribute_format; - bool_t check_access; -}; -struct backend_entry_data { - Slapi_DN *original_entry_dn; - Slapi_Entry *e; -}; - /* Read the name of the NIS master. A dummy function for the schema * compatibility plugin. */ void @@ -879,25 +866,6 @@ backend_update_params(Slapi_PBlock *pb, struct plugin_state *state) slapi_entry_free(our_entry); } -/* Intercept a search request, and if it belongs to one of our compatibility - * trees, answer from our cache before letting the default database have a - * crack at it. */ -struct backend_search_cbdata { - Slapi_PBlock *pb; - struct plugin_state *state; - char *target, *strfilter, **attrs; - int scope, sizelimit, timelimit, attrsonly; - bool_t check_access; - Slapi_DN *target_dn; - Slapi_Filter *filter; - - bool_t answer; - int result; - bool_t matched; - char *closest_match, *text; - int n_entries; -}; - static bool_t backend_should_descend(Slapi_DN *this_dn, Slapi_DN *target_dn, int scope) { |