HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Slapi_ValueSet is the data type for an opaque structure that represents set of Slapi_Value
(or a list of Slapi_Value).
Syntax
#include "slapi-plugin.h"
typedef struct slapi_value_set Slapi_ValueSet;
The following table summarizes the front end API functions that you can call to work with sets
of Slapi_Value.
Call this function:To:
“slapi_valueset_add_value()”
Add a Slapi_Value in the Slapi_ValueSet structure.
“slapi_valueset_count()”Count the values in a valueset.
“slapi_valueset_done()”
Free the values contained in the Slapi_ValueSet
structure.
“slapi_valueset_find()”Find the value in a valueset using the syntax of an
attribute.
“slapi_valueset_first_value()”
Get the first value of a Slapi_ValueSet structure.
“slapi_valueset_free()”
Free the specified Slapi_ValueSet structure and its
members from memory.
“slapi_valueset_init()”
Reset a Slapi_ValueSet structure to no values.
“slapi_valueset_next_value()”
Allocate a new Slapi_ValueSet structure.
Get the next value from a Slapi_ValueSet structure.
“slapi_valueset_set_from_smod()”Add the changes in a modification to a valueset.
“slapi_valueset_set_valueset()”
Initialize a Slapi_ValueSet structure from another
Slapi_ValueSet structure.
See also “Slapi_Value”
14.36 Synchronization callbacks and data types
These typedef declarations are used for both directions of Directory Server and Active Directory
synchronization and can be used for adding or modifying entries in both servers.
Table 14-17 WinSync types
Descriptiontypedef
Used to determine if a Directory Server entry should be added to the Active
Directory server.
winsync_can_add_to_ad_cb
Specifies a DN for a new entry being synced from the Active Directory server
over to the Directory Server.
winsync_get_new_dn_cb
Initializes the synchronization plug-in.winsync_plugin_init_cb
Called whenever a new entry is being added to the Directory Server.winsync_pre_add_cb
Specifies modifications that must be synced over to the Active Directory
server.
“winsync_pre_ad_mod_mods_cb”
Sets the main entry points that allow the sync plug-in to intercept
modifications between local and remote entries.
winsync_pre_mod_cb
Sets the search parameters for the Active Directory and Directory Server
instances, based on the sync agreement.
winsync_search_params_cb
144 Data type and structure reference