X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fsets.h;h=2478790080bb84034750c9840dd88468de335239;hb=e25f6ef0cdd1780577dffeaca8ba8b19b5697880;hp=eb9cc5dc880f78dbd4a9a2ec27f059be1c689b06;hpb=f52cc9bab51e427afa3ed5d28be012d8da27a7a8;p=openldap diff --git a/servers/slapd/sets.h b/servers/slapd/sets.h index eb9cc5dc88..2478790080 100644 --- a/servers/slapd/sets.h +++ b/servers/slapd/sets.h @@ -1,20 +1,32 @@ /* $OpenLDAP$ */ /* - * Copyright 2000 The OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2002 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ +#ifndef SLAP_SETS_H_ +#define SLAP_SETS_H_ + +#include + +LDAP_BEGIN_DECL + /* 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 (SET_GATHER) (void *cookie, char *name, struct berval *attr); +typedef BerVarray (SLAP_SET_GATHER)( + void *cookie, char *name, struct berval *attr); -LDAP_SLAPD_F (long) set_size (BVarray set); -LDAP_SLAPD_F (void) set_dispose (BVarray set); +LDAP_SLAPD_F (long) slap_set_size (BerVarray set); +LDAP_SLAPD_F (void) slap_set_dispose (BerVarray set); LDAP_SLAPD_F (int) -set_filter (SET_GATHER gatherer, void *cookie, struct berval *filter, - char *user, char *this, BVarray *results); +slap_set_filter (SLAP_SET_GATHER gatherer, + void *cookie, struct berval *filter, + char *user, char *this, BerVarray *results); + +LDAP_END_DECL +#endif \ No newline at end of file