openldap/servers/slapd/sets.h

23 lines
676 B
C
Raw Normal View History

/* $OpenLDAP$ */
/*
2002-01-05 05:17:25 +08:00
* Copyright 2000-2002 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/* 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.
*/
typedef BVarray (SLAP_SET_GATHER)(
void *cookie, char *name, struct berval *attr);
LDAP_SLAPD_F (long) slap_set_size (BVarray set);
LDAP_SLAPD_F (void) slap_set_dispose (BVarray set);
2001-12-07 12:03:25 +08:00
LDAP_SLAPD_F (int)
slap_set_filter (SLAP_SET_GATHER gatherer,
void *cookie, struct berval *filter,
char *user, char *this, BVarray *results);