]> git.sur5r.net Git - openldap/commitdiff
Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
authorLuke Howard <lukeh@openldap.org>
Sat, 3 May 2003 04:16:02 +0000 (04:16 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 3 May 2003 04:16:02 +0000 (04:16 +0000)
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

index fdea92acd8f540317adbdc59affe8a2e9c46004d..c8edeb09a1a41cbbd1a182875d6f31e4f3f0cc6b 100644 (file)
@@ -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 );