openldap/servers/slapd/sets.h

21 lines
648 B
C
Raw Normal View History

/* $OpenLDAP$ */
/*
* Copyright 2000 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.
*/
2002-01-02 19:00:36 +08:00
typedef BVarray (SET_GATHER) (void *cookie, char *name, struct berval *attr);
2002-01-02 19:00:36 +08:00
LDAP_SLAPD_F (long) set_size (BVarray set);
LDAP_SLAPD_F (void) set_dispose (BVarray set);
2001-12-07 12:03:25 +08:00
LDAP_SLAPD_F (int)
2002-01-02 19:00:36 +08:00
set_filter (SET_GATHER gatherer, void *cookie, struct berval *filter,
char *user, char *this, BVarray *results);