From 446b496353f198fe47b6bd698688529334e6f737 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 25 Jan 2003 13:36:28 +0000 Subject: [PATCH] New filter SLAPI --- include/slapi-plugin.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/slapi-plugin.h b/include/slapi-plugin.h index 8b52a3a92b..76a1a29b57 100644 --- a/include/slapi-plugin.h +++ b/include/slapi-plugin.h @@ -21,7 +21,7 @@ typedef struct slapi_entry Slapi_Entry; typedef struct slapi_attr Slapi_Attr; typedef struct berval Slapi_Value; typedef struct BerVarray Slapi_ValueSet; -typedef struct slapi_filter Slapi_Filter; +typedef Slapi_Filter Slapi_Filter; /* pblock routines */ int slapi_pblock_get( Slapi_PBlock *pb, int arg, void *value ); @@ -174,6 +174,13 @@ int slapi_filter_get_choice( Slapi_Filter *f); int slapi_filter_get_ava( Slapi_Filter *f, char **type, struct berval **bval ); Slapi_Filter *slapi_filter_list_first( Slapi_Filter *f ); Slapi_Filter *slapi_filter_list_next( Slapi_Filter *f, Slapi_Filter *fprev ); +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_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); /* internal add/delete/search/modify routines */ Slapi_PBlock *slapi_search_internal( char *base, int scope, char *filter, -- 2.39.5