C language function:ldap_parse_sort_control sample codes

Search sample code in the internet.It is the result.


TITLE : Chapter 13 Working with LDAP Controls
To retrieve any controls included in a serverfs response, call the ldap_parse_result() function. You can then retrieve data from the returned controls yourself (by checking the fields of the LDAPControl structure) or by calling additional functions (such as ldap_parse_sort_control())........
http://docs.oracle.com/cd/E19957-01/817-6707/controls.html


TITLE : Chapter 13 Working with LDAP Controls
Pass this array of structures as an argument to ldap_parse_sort_control() to retrieve the LDAP result code for the sorting operation........
http://docs.oracle.com/cd/E19957-01/817-6707/controls.html
TITLE : Chapter 13 Working with LDAP Controls
If the sorting operation fails, the server may also return the name of the attribute that caused the failure. The ldap_parse_sort_control() function also retrieves this name, if available........
http://docs.oracle.com/cd/E19957-01/817-6707/controls.html
TITLE : Chapter 13 Working with LDAP Controls
parse_rc = ldap_parse_sort_control( ld, resultctrls, &rcode, &attrfail );.......
http://docs.oracle.com/cd/E19957-01/817-6707/controls.html
search Google

https://www.google.com/#q=ldap_parse_sort_control