2000-05-11 02:17:38 +08:00
|
|
|
/* compare.c - DNS SRV backend compare function */
|
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/*
|
2000-05-13 10:47:56 +08:00
|
|
|
* Copyright 2000-2000 The OpenLDAP Foundation, All Rights Reserved.
|
2000-05-11 02:17:38 +08:00
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "portable.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include <ac/string.h>
|
|
|
|
#include <ac/socket.h>
|
|
|
|
|
|
|
|
#include "slap.h"
|
|
|
|
#include "back-dnssrv.h"
|
|
|
|
|
|
|
|
int
|
|
|
|
dnssrv_back_compare(
|
|
|
|
Backend *be,
|
|
|
|
Connection *conn,
|
|
|
|
Operation *op,
|
|
|
|
char *dn,
|
|
|
|
char *ndn,
|
2000-05-16 00:53:28 +08:00
|
|
|
#ifdef SLAPD_SCHEMA_NOT_COMPAT
|
|
|
|
AttributeAssertion *ava
|
|
|
|
#else
|
2000-05-11 02:17:38 +08:00
|
|
|
Ava *ava
|
2000-05-16 00:53:28 +08:00
|
|
|
#endif
|
2000-05-11 02:17:38 +08:00
|
|
|
)
|
|
|
|
{
|
2000-05-11 04:11:58 +08:00
|
|
|
return dnssrv_back_request( be, conn, op, dn, ndn );
|
2000-05-11 02:17:38 +08:00
|
|
|
}
|