Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Deprecated and Changed Features Since Directory Server 5.2

This section addresses features deprecated or changed since the Directory Server5.2 release. Where possible, use the replacement functionality.

Attribute Value Handling Changes

The following table shows deprecated functions and their replacements for handling attribute values.

Table 2–1 Replacement Functions for Handling Attribute Values

Deprecated Function 

Replacement Function 

slapi_attr_first_value()

slapi_attr_first_value_const()

slapi_attr_next_value()

slapi_attr_next_value_const()

slapi_valueset_add_value()

slapi_valueset_add_value_optimised()

slapi_valueset_first_value()

slapi_valueset_first_value_const()

slapi_valueset_next_value()

slapi_valueset_next_value_const()

slapi_valueset_set_valueset()

slapi_valueset_set_valueset_optimised()

slapi_valueset_find()

slapi_valueset_find_const()

const Correct Code Changes

The following functions now apply const correctness:

The following callback data types also now apply const correctness:

For updated prototypes, see install-path/include/slapi-plugin.h.