3 * Copyright 2000-2003 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
10 #include <ldap_cdefs.h>
14 typedef struct slap_set_cookie {
18 /* this routine needs to return the bervals instead of
19 * plain strings, since syntax is not known. It should
20 * also return the syntax or some "comparison cookie"
21 * that is used by set_filter.
23 typedef BerVarray (SLAP_SET_GATHER)(
24 SetCookie *cookie, struct berval *name, struct berval *attr);
26 LDAP_SLAPD_F (long) slap_set_size(BerVarray set);
27 LDAP_SLAPD_F (void) slap_set_dispose(SetCookie *cookie, BerVarray set);
29 LDAP_SLAPD_F (int) slap_set_filter(
30 SLAP_SET_GATHER gatherer,
31 SetCookie *cookie, struct berval *filter,
32 struct berval *user, struct berval *this, BerVarray *results);