summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/backend.c
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@kiki.usersys.redhat.com>2009-05-15 16:10:32 -0700
committerNoriko Hosoi <nhosoi@kiki.usersys.redhat.com>2009-05-15 16:10:32 -0700
commit4beed0d0584c8b17d8b48a03320e46bd89aa5211 (patch)
treea0aac747b2b2dafc4917d15744a1f70445487264 /ldap/servers/slapd/backend.c
parent0410819d48795fca4faf986cf8658c34c4d929e3 (diff)
downloadds-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.c6
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;