diff options
author | Noriko Hosoi <nhosoi@kiki.usersys.redhat.com> | 2009-05-15 16:10:32 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@kiki.usersys.redhat.com> | 2009-05-15 16:10:32 -0700 |
commit | 4beed0d0584c8b17d8b48a03320e46bd89aa5211 (patch) | |
tree | a0aac747b2b2dafc4917d15744a1f70445487264 /ldap/servers/slapd/backend.c | |
parent | 0410819d48795fca4faf986cf8658c34c4d929e3 (diff) | |
download | ds-4beed0d0584c8b17d8b48a03320e46bd89aa5211.tar.gz ds-4beed0d0584c8b17d8b48a03320e46bd89aa5211.tar.xz ds-4beed0d0584c8b17d8b48a03320e46bd89aa5211.zip |
Add Simple Paged Results
For more details, see the design doc at http://directory.fedoraproject.org/wiki/Simple_Paged_Results_Design
Diffstat (limited to 'ldap/servers/slapd/backend.c')
-rw-r--r-- | ldap/servers/slapd/backend.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ldap/servers/slapd/backend.c b/ldap/servers/slapd/backend.c index e6083a66..1bded05e 100644 --- a/ldap/servers/slapd/backend.c +++ b/ldap/servers/slapd/backend.c @@ -393,6 +393,9 @@ slapi_be_getentrypoint(Slapi_Backend *be, int entrypoint, void **ret_fnptr, Slap case SLAPI_PLUGIN_DB_ENTRY_RELEASE_FN: *ret_fnptr = (void*)be->be_entry_release; break; + case SLAPI_PLUGIN_DB_SEARCH_RESULTS_RELEASE_FN: + *ret_fnptr = (void*)be->be_search_results_release; + break; case SLAPI_PLUGIN_DB_SIZE_FN: *ret_fnptr = (void*)be->be_dbsize; break; @@ -498,6 +501,9 @@ slapi_be_setentrypoint(Slapi_Backend *be, int entrypoint, void *ret_fnptr, Slapi case SLAPI_PLUGIN_DB_ENTRY_RELEASE_FN: be->be_entry_release=(IFP) ret_fnptr; break; + case SLAPI_PLUGIN_DB_SEARCH_RESULTS_RELEASE_FN: + be->be_search_results_release=(IFP) ret_fnptr; + break; case SLAPI_PLUGIN_DB_SIZE_FN: be->be_dbsize=(IFP) ret_fnptr; break; |