openldap/servers/slapd/back-dnssrv/search.c

40 lines
708 B
C
Raw Normal View History

/* search.c - DNS SRV backend search function */
/* $OpenLDAP$ */
/*
2000-05-21 14:15:00 -04:00
* Copyright 2000 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#include "portable.h"
#include <stdio.h>
#include <ac/socket.h>
#include <ac/string.h>
#include <ac/time.h>
#include "slap.h"
#include "back-dnssrv.h"
int
dnssrv_back_search(
Backend *be,
Connection *conn,
Operation *op,
const char *dn,
const char *ndn,
int scope,
int deref,
int size,
int time,
Filter *filter,
const char *filterstr,
char **attrs,
int attrsonly
)
{
return dnssrv_back_request( be, conn, op, dn, ndn,
scope, filter, attrs, attrsonly );
}