2000-06-30 06:02:15 +08:00
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/*
|
2002-01-05 05:17:25 +08:00
|
|
|
* Copyright 2000-2002 The OpenLDAP Foundation, All Rights Reserved.
|
2000-06-30 06:02:15 +08:00
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
*/
|
|
|
|
|
2002-01-15 15:29:15 +08:00
|
|
|
#ifndef SLAP_SETS_H_
|
|
|
|
#define SLAP_SETS_H_
|
|
|
|
|
|
|
|
#include <ldap_cdefs.h>
|
|
|
|
|
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
|
2000-06-30 06:02:15 +08:00
|
|
|
/* this routine needs to return the bervals instead of
|
|
|
|
* plain strings, since syntax is not known. It should
|
|
|
|
* also return the syntax or some "comparison cookie"
|
|
|
|
* that is used by set_filter.
|
|
|
|
*/
|
2002-01-14 09:43:17 +08:00
|
|
|
typedef BerVarray (SLAP_SET_GATHER)(
|
2002-01-03 01:06:56 +08:00
|
|
|
void *cookie, char *name, struct berval *attr);
|
2000-06-30 06:02:15 +08:00
|
|
|
|
2002-01-14 09:43:17 +08:00
|
|
|
LDAP_SLAPD_F (long) slap_set_size (BerVarray set);
|
|
|
|
LDAP_SLAPD_F (void) slap_set_dispose (BerVarray set);
|
2000-06-30 06:02:15 +08:00
|
|
|
|
2001-12-07 12:03:25 +08:00
|
|
|
LDAP_SLAPD_F (int)
|
2002-01-03 01:06:56 +08:00
|
|
|
slap_set_filter (SLAP_SET_GATHER gatherer,
|
|
|
|
void *cookie, struct berval *filter,
|
2002-01-14 09:43:17 +08:00
|
|
|
char *user, char *this, BerVarray *results);
|
2000-06-30 06:02:15 +08:00
|
|
|
|
2002-01-15 15:29:15 +08:00
|
|
|
LDAP_END_DECL
|
|
|
|
|
|
|
|
#endif
|