[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4314) C API for paged results



I would like to this be reworked using ppolicy API as a basis than
the older sort/vlv control APIs (which should also be reworked).
Parse routines shouldn't also find the control as this makes it
harder to use in programs that include their own finding.

Kurt

At 07:58 AM 1/8/2006, hans@it.vu.nl wrote:
>Full_Name: Hans Leidekker
>Version: CVS
>OS: Linux
>URL: http://mirzam.it.vu.nl/patches/hans-leidekker-060108.patch
>Submission from: (NULL) (84.107.25.189)
>
>
>
>OpenLDAP does not provide any C API calls to encode/parse paged results
>requests/responses (RFC2696), although it supports the page control in
>the server. Augmenting the C API with such calls would fix this imbalance
>and also make porting certain client software to OpenLDAP easier.
>
>So here's a proposed a patch that implements the ldap_create_page_control
>and ldap_parse_page_control APIs:
>
>    http://mirzam.it.vu.nl/patches/hans-leidekker-060108.patch