Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

New Memory Management Functions (4 to 5.2)

The following table shows functions that have been added to manage memory.

Table 3–7 New Functions for Managing Memory

Data Structure  

Memory Management Functions  

char *

slapi_ch_array_free()
slapi_ch_free_string()                        

Slapi_Attr

slapi_attr_dup()

slapi_attr_free()

slapi_attr_new()

Slapi_DN

slapi_sdn_dup()
slapi_sdn_free()
slapi_sdn_new()
slapi_sdn_new_dn_byref()
slapi_sdn_new_dn_byval()
slapi_sdn_new_dn_passin()
slapi_sdn_new_ndn_byref()
slapi_sdn_new_ndn_byval()                        

Slapi_Filter

slapi_filter_free()

Slapi_MatchingRuleEntry

slapi_matchingrule_free()

slapi_matchingrule_new()

Slapi_Mod

slapi_mod_free()

slapi_mod_new()

Slapi_Mods

slapi_mods_free()

slapi_mods_new()

Slapi_PBlock

slapi_pblock_destroy()

slapi_pblock_new()

Slapi_RDN

slapi_rdn_free()

slapi_rdn_new()

slapi_rdn_new_dn()

slapi_rdn_new_rdn()

slapi_rdn_new_sdn()

Slapi_Value

slapi_valuearray_free()

slapi_value_dup()

slapi_value_free()

slapi_value_new()

slapi_value_new_berval()

slapi_value_new_string()

slapi_value_new_string_passin()

slapi_value_new_value()

Slapi_ValueSet

slapi_valueset_free()

slapi_valueset_new()