From: Luke Howard Date: Sat, 3 May 2003 04:16:02 +0000 (+0000) Subject: Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~171 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c880563ba268ba09542d2540caa6f92c55975eb;p=openldap Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that can create compound filters containing multiple filters. Have proposed API to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI is not entirely marked as such already). --- diff --git a/include/slapi-plugin.h b/include/slapi-plugin.h index fdea92acd8..c8edeb09a1 100644 --- a/include/slapi-plugin.h +++ b/include/slapi-plugin.h @@ -194,6 +194,8 @@ int slapi_filter_get_attribute_type( Slapi_Filter *f, char **type ); int slapi_filter_get_subfilt( Slapi_Filter *f, char **type, char **initial, char ***any, char **final ); Slapi_Filter *slapi_filter_join( int ftype, Slapi_Filter *f1, Slapi_Filter *f2); +int slapi_x_filter_append( int choice, Slapi_Filter **pContainingFilter, + Slapi_Filter **pNextFilter, Slapi_Filter *filterToAppend ); int slapi_filter_test( Slapi_PBlock *pb, Slapi_Entry *e, Slapi_Filter *f, int verify_access ); int slapi_filter_test_simple( Slapi_Entry *e, Slapi_Filter *f );