ldap_value_free_len()--Free Memory Allocated by ldap_get_values_len()
Syntax
#include <ldap.h> struct berval { unsigned long bv_len; char *bv_val; }; void ldap_value_free_len( struct berval **vals)
Default Public Authority: *USE
Library Name/Service Program: QSYS/QGLDCLNT
Threadsafe: Yes
The ldap_value_free_len() function frees the memory allocated by the ldap_get_values_len() function.
Authorities and Locks
No IBM® i authority is required.
Parameters
- bvals
- (Input) Specifies a pointer to a null-terminated array of pointers to berval structures, as returned by ldap_get_values_len().
Return Value
None.
Error Conditions
ldap_value_free_len() API does not return an error code.
Error Messages
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_value_free_len API. |
Related Information
- ldap_get_values() -- Return an attribute's values.
- ldap_get_values_len() -- Return an attribute's binary values.
- ldap_count_values() -- Return number of values.
- ldap_count_values_len() -- Return number of binary values.
- ldap_value_free() -- Free memory allocated by ldap_get_values().
API introduced: V4R3
[ Back to top | LDAP APIs | APIs by category ]