C language function:ldap_value_free_len sample codes

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


TITLE : C API for Oracle Internet Directory
ldap_value_free() and ldap_value_free_len() are used to free the values........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm


TITLE : C API for Oracle Internet Directory
); int ldap_count_values( char **vals ); int ldap_count_values_len( struct berval **vals ); void ldap_value_free( char **vals ); void ldap_value_free_len( struct berval **vals );.......
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
If a NULL vals parameter is passed to ldap_value_free() or ldap_value_free_len(), nothing is done........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : C API for Oracle Internet Directory
Note that the values returned are dynamically allocated and SHOULD be freed by calling either ldap_value_free() or ldap_value_free_len() when no longer in use........
http://docs.oracle.com/cd/B10501_01/network.920/a96577/capi.htm
TITLE : Chapter 5 Searching a LDAP Directory
When you have finished working with the values of the attribute, you need to free them from memory. To do this, call ldap_value_free() or ldap_value_free_len(). Code Example 5-11 gets and prints the values of an attribute in an entry. It assumes that all attributes have string values........
http://docs.oracle.com/cd/E19957-01/817-6707/search.html
TITLE : Chapter 5 Searching a LDAP Directory
ldap_value_free_len( list_of_photos );.......
http://docs.oracle.com/cd/E19957-01/817-6707/search.html
search Google

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