From 8c880563ba268ba09542d2540caa6f92c55975eb Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 3 May 2003 04:16:02 +0000 Subject: [PATCH] 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). --- include/slapi-plugin.h | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.5