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

slapi_filter_compare()

Determines if two filters are identical.

Syntax

#include "slapi-plugin.h"
 int slapi_filter_compare(struct slapi_filter *f1,
    struct slapi_filter *f2);

Parameters

This function takes the following parameters:

f1

First filter to compare.

f2

Second filter to compare.

Returns

This function returns 0 if the two filters are identical, or a value other than 0 if they are not.

Description

This function allows you to determine if two filters are identical, and/or are allowed to be in a different order.