Diff for /servers/slapd/filter.c between versions 1.141 and 1.142

version 1.141, 2007/02/20 22:08:09 version 1.142, 2007/09/15 15:38:53
Line 1 Line 1
 /* filter.c - routines for parsing and dealing with filters */  /* filter.c - routines for parsing and dealing with filters */
 /* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.140 2007/01/02 19:01:04 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.141 2007/02/20 22:08:09 ando Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2007 The OpenLDAP Foundation.   * Copyright 1998-2007 The OpenLDAP Foundation.
Line 33 Line 33
   
 #include "slap.h"  #include "slap.h"
   
   const Filter *slap_filter_objectClass_pres;
   const struct berval *slap_filterstr_objectClass_pres;
   
 static int      get_filter_list(  static int      get_filter_list(
         Operation *op,          Operation *op,
         BerElement *ber,          BerElement *ber,
Line 57  static int get_simple_vrFilter( Line 60  static int get_simple_vrFilter(
         const char **text );          const char **text );
   
 int  int
   filter_init( void )
   {
           static Filter filter_objectClass_pres = { LDAP_FILTER_PRESENT };
           static struct berval filterstr_objectClass_pres = BER_BVC("(objectClass=*)");
   
           filter_objectClass_pres.f_desc = slap_schema.si_ad_objectClass;
   
           slap_filter_objectClass_pres = &filter_objectClass_pres;
           slap_filterstr_objectClass_pres = &filterstr_objectClass_pres;
   
           return 0;
   }
   
   void
   filter_destroy( void )
   {
           return;
   }
   
   int
 get_filter(  get_filter(
         Operation *op,          Operation *op,
         BerElement *ber,          BerElement *ber,

Removed from v.1.141  
changed lines
  Added in v.1.142


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org