Slapi_Value_Compare - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Table 15-28 Value Routines (Continued)
Function
slapi_value_new_string()
slapi_value_new_string_passin()
slapi_value_new_value()
slapi_value_set()
slapi_value_set_berval()
slapi_value_set_int()
slapi_value_set_string()
slapi_value_set_string_passin()
slapi_value_set_value()

slapi_value_compare()

Compares two values for a given attribute to determine if they are equals.
Syntax
#include "slapi-plugin.h"
slapi_value_compare(const Slapi_Attr *a,
const Slapi_Value *v1, const Slapi_Value *v2);
Parameters
This function takes the following parameters:
a
v1
v2
Description
Allocates a new Slapi_Value structure from a string.
Allocates a new Slapi_Value structure and initializes it from a
string.
Allocates a new Slapi_Value from another Slapi_Value structure.
Sets the value.
Copies the value from a berval structure into a Slapi_Value
structure.
Sets the integer value of a Slapi_Value structure.
Copies a string into the value.
Sets the value.
Copies the value of a Slapi_Value structure into another
Slapi_Value structure.
A pointer to an attribute used to determine how the two values
will be compared.
Pointer to the Slapi_Value structure containing the first value
to compare.
Pointer to the Slapi_Value structure containing the second
value to compare.
Functions for Handling Values
Chapter 15
Function Reference
505

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents